menu
arrow_back
difference between primary key and unique key
In SQL Server, we have two keys - primary key and unique key which distinctively or uniquely identify a record in the database. Both the keys seems identical, but actually both are different in features and behaviours.

Difference between Primary Key and Unique Key

In this article, I would like to share the key difference between primary key and unique key.

keyboard_arrow_up