How to create a unique index using a database diagram (Enterprise Manager)
To create a unique index using a database diagram
- Open a database diagram.
- Right-click the table to index, and then click Properties.
- Click the Indexes/Keys tab.
- Click New.
The Selected index list displays the system-assigned name of the new index.
- Under Column name, click the columns to index.
You can select up to 16 columns. For optimal performance, select only one or two columns per index.
- Select the Create UNIQUE check box.
- Click the Index option.
- Select the Ignore duplicate keys check box if you want to ignore new or updated data that would create a duplicate key in the index (with the INSERT or UPDATE statement).
See Also
(c) 1988-98 Microsoft Corporation. All Rights Reserved.