Difference between Primary Key and Unique Key
2989
15-Dec-2015
I want to use Difference between Primary Key and Unique Key please help me
Updated on 06-May-2019
Susan White
06-May-2019Thanks for useful answers
Sarah Alfred
30-Apr-2019I am looking for this thanks for sharing it with the community.
Alice Taylor
28-Jan-2019asian fanfics
26-Jan-2019Anonymous User
10-Jan-2019Primary Key:
Unique Key:
Anonymous User
15-Dec-2015SQL Server, we have two keys which distinctively or uniquely identify a record in the database. Both the keys seems identical, but actually both are different in features and behaviours. In this article, I would like to share the key difference between primary key and unique key. For more help about keys in SQL Server refer the article Different Types of SQL Keys.
Unique Constraint can not be related with another table's as a Foreign Key.