Interviews4 answers
Is UNIQUE+NOT NULL equivalent to PRIMARY KEY in all respects? OR just the properties are same?
4 Answers
Alternative key or secondary key is combination of unique key +not null
Sanjeev KumarPosted Jul 18, 2016, 10:12 PM EDT
No both are not same . It is true that Unique+Not null and Primary Key allow same restrictions on data but there is a diff that column with primary key contain a Clustered index but column with Unique Key+Null Contain a Non-Clustered index.
Rahul PrajapatPosted May 30, 2015, 6:59 AM EDT
No both are not same . It is true that Unique+Not null and Primary Key allow same restrictions on data but there is a diff that column with primary key contain a Clustered index but column with Unique Key+Null Contain a Non-Clustered index.....
Pankaj Kumar ChoudharyPosted May 21, 2015, 6:56 PM EDT
yes they are totally equal
Harshit VyasPosted Nov 15, 2010, 1:03 AM EST





