Difference between Primary key and Unique Key

2 posts / 0 new
Last post
Anonymous
Difference between Primary key and Unique Key

 

 

Can someone in the group let me know the differences between Primary and Unique key? 

"; ; ; ;
Offline
Joined: 07/25/2010 - 17:26
RE:Difference between Primary key and Unique Key

 

The major differences are these two:-

1) Primary Key can not contain Null values, whereas unique key may contain Null value.

2) There can be only one primary key in a table, while there can be multiple unique keys.

Log in or register to post comments
Sponsored Listing