Indexes/Keys Property Page

See Also      Tasks

This property page contains a set of properties for the indexes, primary keys, and unique constraints attached to the tables in your database diagram. Indexes and constraints are not graphically represented in database diagrams.

Options

Selected index

Shows the name of the first index for the selected table in your diagram. If more than one table is selected in your diagram, only the name of the first index for the first table is visible. To choose a different index to show properties for, expand the Selected index drop-down list.

Type

Shows the index/key object type for the selected table: index, primary key, or unique.

New

Choose this button to create a new index for the selected database table. Enter properties for the index. For more information, see Creating an Index.

Delete

Choose this button to remove the selected index from the table. For more information, see Deleting an Index.

Note   You cannot delete a primary key without removing any relationships between tables dependent upon the primary key.

Column name

Shows the list of columns in the index, primary key, or unique constraint. You can add, change, or remove column names in this list.

Index name

Shows the name of the selected index. You can rename the index by entering a new name in this box. For more information, see Renaming an Index.

Create UNIQUE

Select this option to create a unique constraint or index for the selected database table. Specify whether you are creating a constraint or index by selecting either the Constraint or Index button.

Fill factor

Shows the fill factor that specifies how full each index page can be. If a fill factor is not specified, the database’s default fill factor is used. For more information, see Specifying a Fill Factor for an Index.

Create as CLUSTERED

Select this option to create a clustered index for the selected database table. For more information, see Creating a Clustered Index.

Sort Data Options

Identify how the data is ordered in the index as records are added to the index.

Duplicate Row Options

Identify how the index should handle duplicate rows.