Follow SQLMaster on Twitter
Welcome to SqlServer-QA.net Sign in | Help

SQL Server 2000 - list the current Statistics names that exist on a table

Using Query Analyzer you can list an execution plan for a query , where you can find/get any statistics that are missing for that query. So to see the create missing statistics you will get further information such as Statistics name and so on and further information on statistics you could use DBCC SHOW_STATISTICS statement.

To get the same with TSQL you can simply run :

SELECT name, id from sysindexes where name like '%WA_Sys%'

Published Monday, November 05, 2007 8:00 AM by SQL Master

Comments

# SQL Server 2000 - list the current Statistics names that exist on a table

Using Query Analyzer you can list an execution plan for a query , where you can find/get any statistics

Monday, November 05, 2007 8:09 AM by Other SQL Server Blogs around the Web

# SQL Server 2000 - list the current Statistics names that exist on a table

Using Query Analyzer you can list an execution plan for a query , where you can find/get any statistics

Monday, November 05, 2007 8:12 AM by SSQA.net - SqlServer-QA.net
Anonymous comments are disabled