2017-01-09 55 views

回答

0

這可能會讓你開始。

select * 
from sys.dm_db_index_usage_stats s 
join sys.indexes i on s.object_id = i.object_id 
join sys.index_columns ic on i.object_id = ic.object_id 
join sys.tables t on ic.object_id = t.object_id 

有很多信息,但只是選擇你需要的列。