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. While both a UNIQUE constraint and a primary key 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

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.