How to: Create Spatial Indexes
You can use spatial indexes on columns of the geometry or geography data type (spatial columns), which you cannot index by using the Index/Keys dialog box. You can create more than one spatial index for each spatial column, but you must create them one at a time. For more information, see Spatial Indexing Overview and Restrictions on Spatial Indexes on the Microsoft Web site.
To create a spatial index
In Server Explorer, click the database table that contains the column for which you want to create the index.
On the Database menu, click Open Table Definition.
The table opens in Table Designer.
Click a column of the geometry or geography data type.
On the Table Designer menu, click Spatial Index.
In the Spatial Indexes dialog box, click Add.
In the Selected Spatial Index list, click the index that you want to create.
In the properties grid, set the properties for the spatial index. For more information, see Spatial Indexes Dialog Box.
See Also
Tasks
How to: Delete Spatial Indexes