Difference between primary key and unique key ?

Answer Posted / ibrahim

PRIMARY KEY is identity of each row. UNIQUE KEY also
identity of each row.
PRIMARY KEY not accepts null values but unique can accept null.

but the core different between primary key and unique is we use primary key to link tow tables with each other but we can not use unique key to do this.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if you lost a data file?

804


Explain how are indexes update?

835


How to create a temporary table in oracle?

943


What is the difference between a primary key & a unique key?

831


Explain the use of record length option in exp command.

808


How to display row numbers with the records?

804


What are the uses of synonyms?

847


What is oracle latest version?

847


How data locks are respected in oracle?

821


How to set a transaction to be read only in oracle?

839


What is oracle open database communication (odbc)?

759


What is a data dictionary and how can it be created?

830


What is raw datatype?

842


What do you mean by a deadlock?

748


What is merge in oracle?

798