Can you create UNIQUE and PRIMARY KEY constraints on
computed columns in SQL Server 2000?
Answers were Sorted based on User's Feedback
Answer / kirubaharan
Unable to create index 'PK'.
Cannot define PRIMARY KEY constraint on Computed column in
table.
Could not create constraint. See previous errors.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ricky
in sql server 2000 we can create the uniqe and primary key
constraint in computeted coloumn.....but in sql server 2005
we can not create the uniqe and primery constraints in
computed coloumn.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / uma lakshman
Because SQL Server 2000 supports indexes on computed
columns, you can create UNIQUE and PRIMARY KEY constraints
on computed columns
Is This Answer Correct ? | 3 Yes | 2 No |
How to create Clustered Primary Key to table?
How do you persist objects, permissions in tempdb
Write a query to get all details of employee who has maximum salary from employee table
What is recompile sql server?
How many levels of sp nesting are possible?
What is the difference between char and varchar2 datatype in sql?
Explain encryption of entire databases without the need for application changes in sql server 2008?
How many columns can exist together per table?
what is the purpose of creating view is sql server 2000
What is a NOLOCK?
Explain a checkpoint?
What is Data model and how to prepare a data model.?