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 is the data pump import utility?

585


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

1787


How do I know if oracle is installed on windows?

488


what is Single Byte Overhead...?

2064


What are the original export and import utilities?

573






What is the difference between substr & instr functions?

597


Explain the truncate in oracle?

551


How to define an anonymous block?

620


Explain enable novalidate constraint.

599


Explain the use of analyse option in exp command.

590


How to create additional tablespaces for an new database?

572


How to create a server parameter file?

571


How to insert a record into a table?

642


What is a user account in oracle?

631


Difference between pre-select and pre-query

579