Creating and Maintaining Databases

UNIQUE Constraints

You can use UNIQUE constraints to ensure that no duplicate values are entered in specific columns that do not participate in a primary key. Although both a UNIQUE constraint and a PRIMARY KEY constraint enforce uniqueness, use a UNIQUE constraint instead of a PRIMARY KEY constraint when you want to enforce the uniqueness of:

A UNIQUE constraint can also be referenced by a FOREIGN KEY constraint.

See Also

Creating and Modifying UNIQUE Constraints