How to find what Stored Procedures are using what indexes?

后端 未结 5 1119
终归单人心
终归单人心 2021-02-15 18:34

I am trying to determine what indexes are no longer used in my Database. I have had great luck using the following query:

SELECT   OBJECT_NAME(S.[OBJECT_ID]) AS         


        
5条回答
  •  梦毁少年i
    2021-02-15 18:36

    In the SQL management studio, you can see exactly how the query is executed by using the "Display Execution Plan" option under the Query menu.

提交回复
热议问题