Visual Database Tools
Creating an Index
You can use an index to speed access to data in a database
To create an index
- In your database diagram, select the table you want to index, right-click the table, and choose Indexes/Keys from the shortcut menu.
-or-
Open the Table Designer for the table you want to index, right-click in the Table Designer, and choose Indexes/Keys from the shortcut menu.
- Choose New. The Selected index box displays the system-assigned name of the new index.
- Under Column name, select the columns you want to index. You can select up to 16 columns. For optimal performance, select only one or two columns. For each column you select, you can indicate whether the index organizes its values in ascending or descending order.
- Specify any other desired settings for the index and then click OK.
The index is created in the database when you save the table or diagram.
See Also
Creating a Clustered Index | Creating a Unique Index | Deleting an Index | Indexes | Renaming an Index | Saving, Displaying, and Updating an Index Definition | Specifying a Fill Factor for an Index