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 are the steps you will take to improve performance of a poor performing query? : Sql server database administration
Suppose i have one sql query that contains 2 minute to execute.After one weekly i am executing same query that is taking 5 minute.Why our same query is taking more time.what would be my approach to reduce execution time.Please help.
1 Answers Cognizant, HCL, Value Labs,
Which language is supported by sql server?
last function used in MS Access to convert sql what function will use in sql
Is oracle faster than sql server?
What is Self Join?
What are the types of indexes?
How to Handle the exceptions in Sqlsrver 2005??
Can we write trigger for view?
What is the standby server?
explain different types of constraints? : Sql server database administration
What is the library index called?