How to: Create a Spatial Index (Visual Database Tools)
Use Spatial Indexes on columns of the geometry or geography data type (spatial columns), which cannot be indexed using the Index/Keys dialog box. Each spatial column can have more than one spatial Index, but they must be created one at a time.
For information about restrictions on spatial index creation, see Restrictions on Spatial Indexes.
To create a spatial index
In Object Explorer, right-click the table for which you want to create a spatial index, and then click Design.
The table opens in Table Designer.
Select a geometry or geography column for the index.
On the Table Designer menu, click Spatial Index.
In the Spatial Indexes dialog box, click Add.
Select the new index in the Selected Spatial Index list, and in the grid to the right, set the properties for the spatial index. For information about the properties, see Spatial Indexes Dialog Box (Visual Database Tools).
See Also