A
Adam
I have a stored procedure that when executed from Query
Analyzer takes 0 to 1 second. When executing the same
procedure from .Net using any number of methods the page
just seems to get stuck on executing the command. It will
eventually come up, but takes about 5 minutes or so. The
result set from the query is about 300 rows, so it's
nothing that should ever take very long. All of my
indexes are set and as I stated above the query executes
extremely fast in query analyzer.
This isn't the only query we've had this problem with
either, so I'm at a loss as to why this is happening. Any
ideas would be appreciated.
We are using SQL Server 2000 on Windows Server 2003.
Thanks,
Adam
Analyzer takes 0 to 1 second. When executing the same
procedure from .Net using any number of methods the page
just seems to get stuck on executing the command. It will
eventually come up, but takes about 5 minutes or so. The
result set from the query is about 300 rows, so it's
nothing that should ever take very long. All of my
indexes are set and as I stated above the query executes
extremely fast in query analyzer.
This isn't the only query we've had this problem with
either, so I'm at a loss as to why this is happening. Any
ideas would be appreciated.
We are using SQL Server 2000 on Windows Server 2003.
Thanks,
Adam