sys.stats_columns (Transact-SQL)

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

See Also

Reference

Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)

Other Resources

Querying the SQL Server System Catalog FAQ

Help and Information

Getting SQL Server 2005 Assistance