DBA > Job Interview Questions > DB2 INTERVIEW QUESTIONS

What is the difference between primary key and u

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is the difference between primary key and unique index ?

Primary : 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.

(Continued on next question...)

Other Job Interview Questions