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
 Development Tools
 ASP.NET
 Is it possible to find use of index in a query

Author  Topic 

sathiesh2005
Yak Posting Veteran

85 Posts

Posted - 2009-12-04 : 01:01:26
Hi Everyone,

I am using SQL server2000 as backend and ASP/ASP.net as frontend.

I need to check whethere my SQL query in and ASP/.net page using the index or not throuth the frontend itself.

Is it possible??

Waiting for your kind reply.

Thanks in advance.

Regards,
Sathieshkumar. R

Sathieshkumar. R

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-04 : 01:18:25
You can run SET SHOWPLAN_TEXT to see what's in the execution plan.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

cvraghu
Posting Yak Master

187 Posts

Posted - 2009-12-04 : 02:55:33
Why do you want to do it in front end only?
Go to Top of Page

sathiesh2005
Yak Posting Veteran

85 Posts

Posted - 2009-12-04 : 03:40:00
Since the index tuning wizard/profiler runs with administrator rights, admin rights cannot be given to all the users of sql server. so i need it to do throught the frontend so that i can connect this page with administrator login and others can access this page.

Thanks for your reply.

quote:
Originally posted by cvraghu

Why do you want to do it in front end only?



Regards,
Sathieshkumar. R
Go to Top of Page

sathiesh2005
Yak Posting Veteran

85 Posts

Posted - 2009-12-09 : 02:27:32
Thanks it helped me for some other need. But i need at least to enable index tuning wizard for the non SA login. Without giving administrator privilege to that login.


quote:
Originally posted by tkizer

You can run SET SHOWPLAN_TEXT to see what's in the execution plan.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."



Regards,
Sathieshkumar. R
Go to Top of Page
   

- Advertisement -