M
michael
I have stored procedure which runs in a few seconds from within Microsoft SQL
Server Management Studio. The stored procedure has a bunch of joins, all to
indexed keys.
However, if I try to use the same stored procedure from within a VS2008 VB
app, the procedure either crawls or times out. I've tried extending the time
out period, but too often the app just hangs.
I'm certain that this stored procedure runs correctly (and fast in SSMS). Is
it possible that the stored procedure is executed differently on SSMS than it
is from my app? Any other possible causes?
Server Management Studio. The stored procedure has a bunch of joins, all to
indexed keys.
However, if I try to use the same stored procedure from within a VS2008 VB
app, the procedure either crawls or times out. I've tried extending the time
out period, but too often the app just hangs.
I'm certain that this stored procedure runs correctly (and fast in SSMS). Is
it possible that the stored procedure is executed differently on SSMS than it
is from my app? Any other possible causes?