|
Both Primary and Unique Keys are enforce uniqueness of the column. But the differeces are given below:
Primary Key:
1) It creates clustered index by default
2) It doesn't allow nulls
Unique Key:
1) It creates non-clustered index by default
2) It allows only one null value
Regards
MadhuKumarKoppula
|