Indexes
On this page
Object reference — Index
All windows and pages · Common controls and reading this reference
Behavior and conditions
Define a repository index for a non-view table. A new definition can inherit the table and schema from its caller. Save requires a name, a table and valid index columns. An ordinary index or primary key requires at least one key column. Include-only columns do not count toward that requirement. A nonclustered columnstore index requires 1 to 1,024 selected columns and rejects Include only and Is descending. To create a clustered columnstore index, set the table compression type to COLUMNSTORE.
Position starts at 1. The repository enforces unique positions and column IDs within each index. Save commits metadata and refreshes navigation. Review the table script to see the DDL that will be applied.
Related objects
Related guidance
Controls
Find a control
General
Index Details
Index Details / Index columns
Index Details / Index columns / DataGrid
Details
Index options
The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.
XAML preview
WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.
Window layout

General
Cancel
Leaves this dialog or page through its close/navigation action. It does not undo actions already executed separately; follow any save prompt.
Location: General. Control: Button.
Save
Commits edits in the grid, checks the index configuration and its columns, then saves the definition to repository metadata. If a check fails, the editor stays open.
Location: General. Control: Button.
Index name
Required index identifier used in generated DDL.
Location: General. Control: Text field.
Schema
Selects the schema that filters the Table choices.
Location: General. Control: Dropdown.
Table
Selects a non-view table in the chosen schema. Selecting a table repopulates the Column choices.
Location: General. Control: Dropdown.
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: General. Control: Panel divider.
Index Details
Location: General. Control: Group.
Details
Location: General. Control: Expander.
Index options
Location: General. Control: Expander.
Details

Details
Description
Descriptive documentation for this object or field; it is not an executable expression.
Location: Details. Control: Text field.
Index options

Index options
Is unique
Requests a unique ordinary index. Save rejects this option when Columnstore is checked.
Location: Index options. Control: Checkbox or status indicator.
Is clustered
Requests a clustered index. Save rejects another clustered index on the same table and rejects combining this flag with Columnstore. Use table compression COLUMNSTORE for clustered columnstore.
Location: Index options. Control: Checkbox or status indicator.
Is primary key
Generates a primary-key constraint instead of an ordinary index. Save rejects a second primary-key index definition on the table and rejects combining this flag with Columnstore.
Location: Index options. Control: Checkbox or status indicator.
Is columnstore
Requests columnstore index generation. The editor rejects combining it with Clustered, Primary key or Unique.
Location: Index options. Control: Checkbox or status indicator.
Compression type
DEFAULT is selected for a new index. The generator resolves DEFAULT through the effective table compression when it is ROW or PAGE, otherwise through INDEX_COMPRESSION_TYPE. Explicit ROW or PAGE emits DATA_COMPRESSION.
Location: Index options. Control: Dropdown.
Other controls
Index Details
Index columns
Location: Index Details. Control: Group.
Index Details / Index columns
Rows
Location: Index Details / Index columns. Control: Table/grid.
Index Details / Index columns / DataGrid
Column
Selects a column of the selected table. Each column can occur once per index.
Location: Index Details / Index columns / DataGrid. Control: Dropdown column.
Position
Determines column order in generated DDL. Each position must be unique within the index.
Location: Index Details / Index columns / DataGrid. Control: Text column.
Is descending
Appends DESC to the generated key column. It does not set a sorting direction for an included column.
Location: Index Details / Index columns / DataGrid. Control: Checkbox/status column.
Include only
For an ordinary nonclustered index, adds the column to INCLUDE. This flag does not satisfy the Save requirement for at least one key column. Columnstore rejects it. The clustered generator branch treats the column as a key column.
Location: Index Details / Index columns / DataGrid. Control: Checkbox/status column.
Scope
Options can depend on the selected object, its saved values and the current repository.