Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored Procedures and sp_prepexec

Status
Not open for further replies.

NervousRex

Programmer
Sep 4, 2003
66
0
0
US
we have a SQL stored procedure that is causing an issue when called through coldfusion, it is taking an extremely long time to run....5+ minutes sometimes

The issue is, when run through Query analyzer it runs in 2 secs. I have no other ideas of how to increase the speed of the queries in the SP.

I have run multiple SQL traces, and the only thing I can think of is an issue with coldfusion causing the procedure to run under sp_prepexec instead of calling the SP directly.

If anyone has any tips they can offer I would greatly appreciate it.
 
code please.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top