Skip to content

Commit c76015e

Browse files
authored
Update STATS - DBCC Show Statistics.sql
1 parent df3f3a2 commit c76015e

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
target
3+
4+
Name of the index, statistics, or column for which to display statistics information.
5+
target is enclosed in brackets, single quotes, double quotes, or no quotes.
6+
If target is a name of an existing index or statistics on a table or indexed view, the statistics information about
7+
this target is returned. If target is the name of an existing column, and an automatically created statistics on
8+
this column exists, information about that auto-created statistic is returned. If an automatically created statistic
9+
does not exist for a column target, error message 2767 is returned.
10+
11+
In SQL Data Warehouse and Parallel Data Warehouse, target cannot be a column name.
12+
*/
13+
14+
115
dbcc show_statistics ('MESSAGING.SEIOvernight','ixSEIOvernight_SEIInterfaceID')
216

3-
--The smaller the density is the more selective that column is.
17+
--The smaller the density is the more selective that column is.

0 commit comments

Comments
 (0)