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


Please Help Members By Posting Answers For Below Questions

How can we create the complete backup of data in the oracle.

1685


What is a parameter file in oracle?

564


What are the parameters that we can pass through a stored procedure?

559


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

1791


What is the difference between I and G in Oracle?

605






6. Display the client name and order date for all orders using the traditional method.

1753


What are the differences between blob and clob in oracle?

586


What is an anonymous block?

627


What is enter substitution variable in oracle?

577


Is rowid unique in oracle?

532


How to write a query with a right outer join in oracle?

620


What is analyze command used for?

582


How do I manually create a database in oracle?

548


How do I find the database name in oracle?

603


candidate key is subset of super key but not vice-verse explain

1582