SQL语句实现查询Index使用状况
2017-02-05
17
SELECT sch.name + "." + t.name AS [Table Name], i.name AS[Index Name], i.type_desc,ISNULL(user_updates,0) AS [Total Writes], ISNULL(user_seeks +user_scans + user_lookups,0) AS [Total Reads], s.last_user_seek, s.last_user_scan , s....