How to create a UNIQUE constraint when creating a table (Enterprise Manager)
To create a UNIQUE constraint when creating a table
- Expand a server group; then expand a server.
- Expand Databases; then expand the database in which to create the table.
- Right-click Tables; then click New Table....
- In the Choose Name dialog box, enter a name for the table.
- Fill in the columns as appropriate. Each row represents one column in the table.
- Right-click any row; then click Properties.
- On the Indexes/Keys tab, click New.
- In the Column name list, select the columns that are part of the UNIQUE constraint.
- Select Create UNIQUE to make this index a unique constraint.
See Also
Creating and Modifying UNIQUE Constraints
(c) 1988-98 Microsoft Corporation. All Rights Reserved.