Visual Database Tools
Modifying a Unique Constraint
Modify a
To modify a unique constraint
- In your database diagram, right-click the table containing the constraint, then select Properties from the shortcut menu.
-or-
Open the Table Designer for the table containing the constraint, right-click in the Table Designer, and choose Properties from the shortcut menu.
- Choose the Indexes/Keys tab.
- Select the constraint you want to change from the Selected index list.
- Complete an action from the following table:
To Follow these steps Change the columns that the constraint is attached to In the Column name grid, expand the list and select the columns you want to attach the constraint to. Rename the constraint Type a new name in the Index name box. Make sure that your new name does not duplicate a name in the Selected index list. Set the clustered optionĀ Select the Create as CLUSTERED check box. Only one clustered index can exist per table. If a clustered index already exists, you must first clear this setting on that index. Define a fill factor Type an integer from 0 to 100 in the Fill factor box.
The constraint is updated in the database when you save your table or diagram.