sys.sp_statistics

general
#stored-procedure

Description

Analytics Platform System (PDW) Returns a list of all indexes and statistics on a specified table or indexed view. Specifies the table used to return catalog information. default. Wildcard pattern matching isn’t supported.

Syntax

sp_statistics
[ @table_name = ]
N
'table_name'
[ , [ @table_owner = ]
N
'table_owner'
]
[ , [ @table_qualifier = ]
N
'table_qualifier'
]
[ , [ @index_name = ]
N
'index_name'
]
[ , [ @is_unique = ]
'is_unique'
]
[ , [ @accuracy = ]
'accuracy'
]
[ ; ]