How to: Create XML Indexes
Use an XML index to create indexes for columns of the data type XML, which cannot be indexed using the Index/Keys dialog box. Each XML column can have more than one XML index, but the first one created (primary) will be the basis of the others. If you delete the primary XML index, the others will also be deleted.
Note
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To create an XML index
In the Server Explorer, right-click the table for which you want to create an XML index and click Open Table Definition.
The table opens in Table Designer.
Select the XML column for the index.
From the Table Designer menu, click XML Index.
In the Full-text Index dialog box, click Add.
Select the new index in the Selected XML Index list and set properties for the index in the grid to the right.