Both primary key and unique enforce uniqueness of the column on which they are defined. But, there are some differences
asp.net,c#.net, MVC, WPF, WCF, JavaScript, JQuery, SQL Server, Interview Q&A
Both primary key and unique enforce uniqueness of the column on which they are defined. But, there are some differences