what is unique key?
Answer Posted / gyana ranjan behera
Both primary key and unique enforce uniqueness of the
column on which they are defined. But by default primary
key creates a clustered index on the column, where are
unique creates a nonclustered index by default. Another
major difference is that, primary key doesn't allow NULLs,
but unique key allows one NULL only.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to define a cusotmer as a supplier in ORACLE R12
How to use attributes of the implicit cursor in oracle?
How do you get nicely formatted results from an oracle procedure that returns a reference cursor?
How to delete a column in an existing table in oracle?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
What is ordinary table in oracle?
Please explain oracle data types with examples?
What is a system tablespace and when it is created?
What is the use of file param in imp command?
What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?
Explain the use of file option in exp command.
What is the Tune Query
What is the dynamic sql in oracle?
Can we convert a date to char in oracle and if so, what would be the syntax?
What is transport network substrate (tns) in oracle?