4
Reply

Is UNIQUE+NOT NULL equivalent to PRIMARY KEY in all respects? OR just the properties are same?

Suresh Paldia

Suresh Paldia

Nov 01, 2010
4.2k
0

    Alternative key or secondary key is combination of unique key +not null

    Sanjeev Kumar
    July 19, 2016
    0

    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 Prajapat
    May 30, 2015
    0

    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.....

    yes they are totally equal

    Harshit Vyas
    November 15, 2010
    0