Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.91 KB

File metadata and controls

48 lines (42 loc) · 1.91 KB
title sys.stats_columns (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/15/2017
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
stats_columns_TSQL
stats_columns
sys.stats_columns
sys.stats_columns_TSQL
dev_langs
TSQL
helpviewer_keywords
sys.stats_columns catalog view
ms.assetid 93414d07-97e9-4501-8577-f35b8d68fbe9
caps.latest.revision 23
author BYHAM
ms.author rickbyh
manager jhubbard

sys.stats_columns (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-all_md]

Contains a row for each column that is part of sys.stats statistics.

Column name Data type Description
object_id int ID of the object of which this column is part.
stats_id int ID of the statistics of which this column is part.
stats_column_id int 1-based ordinal within set of stats columns.
column_id int ID of the column from sys.columns.

Permissions

[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.

See Also

Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)
Querying the SQL Server System Catalog FAQ
sys.stats (Transact-SQL)