differences between Primary key and Unique Key Not NullPKPankaj Kumar10yAsked Jun 19, 2016, 10:48 AM996differences between Primary key and Unique Key WITH Not Null. in case of CLUSTERED Index.
Vinay Singh10y agoPosted Jun 19, 2016, 1:52 PM In simple please check the detailBy default primary key adds a clustered index By default unique key adds a non-clustered indexFor detail please check the linkDifference Between Primary Key and Unique Key In Sql Server Table0
Vinay Singh10y agoPosted Jun 19, 2016, 1:51 PMWe have to define the column weather it's a primary or uniquer. if you define it as primary then it will not allow to add any null value.0
MYmanish yadav10y agoPosted Jun 19, 2016, 1:48 PMhi vijay,it's treat as same or not, means if we have a unique key with not null, then it work as primary key.and we create a clustered index on that column.and we use this field as a reference for foreign key.0
Vinay Singh10y agoPosted Jun 19, 2016, 12:20 PM HiThe mail difference between primary and unique key in case of clusterPrimary Key By default, Primary key is clustered index and data in the database table is physically organized in the sequence of clustered index.Unique keyBy default, Unique key is a unique non-clustered index.0
Vinay SinghPosted Jun 19, 2016, 1:52 PM
Difference Between Primary Key and Unique Key In Sql Server Table
Vinay SinghPosted Jun 19, 2016, 1:51 PM
manish yadavPosted Jun 19, 2016, 1:48 PM
Vinay SinghPosted Jun 19, 2016, 12:20 PM