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

sys.sysindexkeys (Transact-SQL)

Contains information about the keys or columns in an index of the database.

ms178551.note(en-US,SQL.90).gifImportant:
This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views. This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Column name Data type Description

id

int

ID of the table.

indid

smallint

ID of the index.

colid

smallint

ID of the column.

keyno

smallint

Position of the column in the index.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.