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 do you clear a log file?
What is the use of group by clause?
When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?
How do you read transaction logs
Differencr Between DELETE and TRUNCATE?
What are the two types of concurrency?
What do you understand by recursive stored procedure?
How can count the string ? for ex: If i have string like 'bhaskar' then i need like b:1 h:1 a:2 s:1 k:1 r:1 please give any idea on that
Distinguish between commit and rollback?
how do we find every fifth record in a table
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
What is candidate key with example?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)