Sunday, 19 February 2012

Q: What is different between primary key and unique key


Ans: Primary key cannot left blank but unique key can left blank, uniq key and primary is work same type.
 OR
 
Primary key doesnot allow null value but unique key allows 
null value. We can declare only one primary key in a table 
but a table can have multiple unique key(column assign).

No comments:

Post a Comment