Home > DeveloperSection > Interviews > Difference between Primary Key and Unique Key.

Posted on    October-20-2010 12:00 AM

 MSSQL Server MSSQL Server 
 1 Answer(s)
  779  View(s)
Rate this:

Rajesh Goswami

Total Post:85

Posted on    November-09-2010 1:00 AM

Primary Key: A column in a table whose values uniquely identify the rows in the table. A primary key value cannot be NULL.

Unique Key: Unique Keys are used to uniquely identify each row in an Oracle table. There can be one and only one row for each unique key value.

Don't want to miss updates? Please click the below button!

Follow MindStick