Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How do I determine if an index is being used

Author  Topic 

SamC
White Water Yakist

3467 Posts

Posted - 2003-02-26 : 15:24:10
How can a query in a stored procedure be verified that it is using an index?

Sam

simondeutsch
Aged Yak Warrior

547 Posts

Posted - 2003-02-26 : 15:35:32
Paste the query into QA and see what execution plan it generates. Stored procedures will usually generate one plan and stick with it, unless you specify WITH RECOMPILE.

Sarah Berger MCSD
Go to Top of Page
   

- Advertisement -