Difference between Primary key and Unique key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    Difference between Primary key and Unique key

    Primary key does not allow null values at all because it is the key for uniqueness in the table. A table has only one primary key. No replications are allowed in primary key.
    Unique key allow null values but only for single time. A table has one or more more unique keys. it also removes replicated values.
  • Guest

    #2
    Yess.... Right answer.

    Comment

    Working...