Tutorials and code for ASP.NET 2.0,C#,SQL Server,AJAX tutorials,jQuery  
Home    Articles    Contact Us
 

ASP.NET
AJAX
Interview Questions
Sql Server
Technology News
Tips and Tricks
jQuery

 

Difference between Primary Key and Unique Key


Difference between Primary Key and Unique Key

  • Both Primary Key and Unique Key gives uniqueness of the column on which they are defined.

  • By default Unique Key creates a nonclustered index whereas Primary Key creates a clustered index on the column.

  • A Primary key value cannot be NULL whereas Unique Key allows only one NULL.


User Comments:

Comment By amit on 06/24/2010

gr8


Post Your Comment :


Name
Email:
Comment:

Home | Contact Us

© 2008-09 TechnoReader.com. All rights reserved.