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 |
What is public role in sql server?
What is self contained sub query?
What is compound operators?
WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...
When we should use and scope of @@identity?
What is a primary key?
optimization techinques
Explain sub-query?
In the primary key have a multiple field or not?
last function used in MS Access to convert sql what function will use in sql
What is the use of DBCC commands?
explain different types of jions with examples briefly?