Monday 18 March 2013

Difference between Primary key and unique key

Hi,
   Primary key and unique key both are constrain .Which are used for saving unique data.
So difference must be there -

  Basic diference is -
 Primary key does not support NULL values But Unique key support  NULL value.

note : Unique key support  only one NULL value.

No comments:

Post a Comment

First Database In Sql Server