Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.44 KB

sys-sysindexkeys-transact-sql.md

File metadata and controls

41 lines (35 loc) · 1.44 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sys.sysindexkeys (Transact-SQL)
sys.sysindexkeys (Transact-SQL)
rwestMSFT
randolphwest
03/15/2017
sql
system-objects
reference
sysindexkeys
sys.sysindexkeys_TSQL
sysindexkeys_TSQL
sys.sysindexkeys
sysindexkeys system table
sys.sysindexkeys compatibility view
TSQL

sys.sysindexkeys (Transact-SQL)

[!INCLUDE SQL Server]

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

Important

[!INCLUDEssnoteCompView]

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.

See Also

Mapping System Tables to System Views (Transact-SQL)
Compatibility Views (Transact-SQL)
sys.index_columns (Transact-SQL)