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 2005 Forums
 Transact-SQL (2005)
 Sp execution time from application

Author  Topic 

ramesh31
Starting Member

11 Posts

Posted - 2007-08-06 : 16:29:51
Hi All,

Whenever I execute a sp from my application it takes more time (10 times more )
but if i execute from query analyser it takes less time .
The Sp has cursors. can anyone say why this behaviour.

Thanks in Advance
DRB

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-08-06 : 16:37:10
Set profiler to trace it, may stuck somewhere between app and sql server.
Go to Top of Page
   

- Advertisement -