Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

Index Properties (General Page)

Use this page to view or modify index properties for the selected table or view.

For general information about indexes and how they work, see Creating Indexes (Database Engine).

Table name

Displays the name of the table or view that the index was created on. This field is read-only. To select a different table, close the Index Properties page, select the correct table, and then open the Index Properties page again.

Index name

Displays the name of the index. This field is read-only for an existing index. When creating a new index, type the name of the index.

Index type

Select the type of index from the list: Clustered, Nonclustered, or PRIMARY XML.

Note   Only one clustered index is allowed for each table. If a clustered index already exists, an error message is displayed and you are asked if the existing clustered index should be dropped and a new clustered index created.

The following type conversions are permitted:

  • Clustered to clustered.
  • Nonclustered to nonclustered.
  • Nonclustered to clustered.

The following conversions are not allowed:

  • Clustered to nonclustered.
  • Non-XML index to XML index, and vice versa.
    ms181197.note(en-US,SQL.90).gifNote:
    XML indexes are only supported in Microsoft SQL Server 2005, therefore, PRIMARY XML is not available when connected to an instance of SQL Server 2000.

Unique

Selecting this check box makes the index unique. No two rows are permitted to have the same index value. By default, this check box is cleared. When modifying an existing index, index creation will fail if two rows have the same value. For columns where NULL is permitted, a unique index permits one NULL value.

Index key columns

Add the desired columns to the Index key columns grid. When more than one column is added, the columns must be listed in the order desired. The column order in an index can have a great impact on the index performance.

No more than 16 columns can participate in a single composite index. For greater than 16 columns, see Index with Included Columns.

Name

Displays the name of the column that participates in the index key.

Sort Order

Specifies the sort direction of the selected index column, either Ascending or Descending.

ms181197.note(en-US,SQL.90).gifNote:
If the index type is XML, this column does not appear in the table.

Data Type

Displays the data type information.

ms181197.note(en-US,SQL.90).gifNote:
If the table column is a computed column, Data type displays "computed column."

Size

Displays the maximum number of bytes required to store the column data type. Displays zero (0) for XML columns.

Identity

Displays whether the column participating in the index key is an identity column.

Allow NULLs

Displays whether the column participating in the index key allows NULL values to be stored in the table or view column.

Add

Adds a column to the index key. Select table columns from the Select Columns from <table name> dialog box that appears when you click Add.

Remove

Removes the selected column from participation in the index key.

Move Up

Moves the selected column up in the index key grid. For more information about column order in an index, see General Index Design Guidelines.

Move Down

Moves the selected column down in the index key grid.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.