Why am I seeing entries in sysindexes (or sp_helpindex) for indexes I have not created?
July 27, 1999
A. A. sysindexes contains rows per object as follows :-
. Every table has a row with an indid value of either 0 (heap) or 1 (if it has a clustered index).
. Every nc index has a row with indid > 1.
. If text/image columns are used then these use rows.
.(SQL 7 only). There are rows for keeping track of non-index statistics on columns that SQL decides to capture statistics on even though there is no physical index on the column. Their names are _WA_Sys__. These "indexes" cannot be dropped with a drop index command. They are there for the SQL optimiser to best choose query plans but if you want to drop them they can be with the drop statistics command.
. (SQL 7 only). When the index tuning wizard runs it creates "hypothetical" indexes with names like hind___. These are removed when you create a "real" index on those columns using the script that the wizard produces for you.
About the Author
You May Also Like