Define SQL Server Table XML Indexes

You can create a table that has one or more columns of type XML. Query execution processes each XML instance at runtime, so a mechanism for indexing XML columns is provided to speed up queries. Use the SQL Server Table XML Index Editor to define the XML columns participating in the table XML index in a SQL Server 2005/2008 physical model.

To define SQL Server table XML indexes

  1. Click Indexes, XML on the Model menu.

    The SQL Server Table XML Index Editor opens.

  2. Select the table from the Table drop-down that contains the XML index that you want to define and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new table XML index.

  3. Click the General tab and work with the following options:
  4. (Optional) Click the Comment tab and enter any comments that you want to associate with the table XML index.
  5. (Optional) Click the UDP tab to work with user-defined properties for the table XML index.
  6. Click Close.

    The table XML index is defined and the SQL Server Table XML Index Editor closes.

More information:

SQL Server Physical Property Editors

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor


Copyright © 2009 CA. All rights reserved. Email CA about this topic