query runing slow

  • Thread starter Thread starter vicky
  • Start date Start date
V

vicky

I have a query which runs under 15 sec. through query analyzer. But when
same query is getting executed by .net console application, using ado.net,
it takes 10-15 min. What can be the problem?
 
Are you sure that is just the query running time, or is other processing
taking place as well.

Also, is there any thing else going on, transactions, etc?
 
Thanks marina,
No its query time only, because i can see SPID of .net app in sysprocess
table in runnable state for long time.
There is no transaction going on.
Moreever why query analyzer is executing same query faster from the same
client machine.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top