Home » Interview » Technology

What is the difference between primary key & unique index ?

Correct Answer: Primary key : a relational database constraint Primary key consists of one or more columns that uniquely identify a row in the table For a normalized relation, there is one designated primary key Unique index: a physical object that stores only unique values There can be one or more unique indexes on a table

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion