What is difference between UNIQUE constraint and PRIMARY KEY constraint ?

A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls.

Showing Answers 1 - 4 of 4 Answers

Thriveni P

  • Mar 14th, 2006
 

A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls.

Unique key cannot be used to create referential integrity whereas primary key can do.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions