Modify a unique constraint when you want to change the columns that the constraint is attached to, change the constraint name, or set additional properties for the constraint.
To modify a unique constraint
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 doesn’t duplicate a name in the Selected index list. |
Set the clustered option (Microsoft SQL Server only) | 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 (Microsoft SQL Server only) | Type an integer from 0 to 100 in the Fill factor box. Type 0 to accept the default fill factor. |
The constraint is updated in the database when you save your table or diagram.