Cullenward
Programmer
I have a stored procedure that runs in less than a second in SQL Server Query Analyzer, but sometimes it takes up to 3-5 minutes to run that same stored procedure in a data window retrieve.
This doesn't constantly happen, it's been about a month since it last happened, and there were no changes between when it last worked yesterday and today.
I've used the parameters in both settings (SQL Server, and PowerBuilder) at the same time with the same user accounts. What would cause this to return instantly in SQL Server, but take several minutes in PowerBuilder?
In the instance I tested there was only 15 rows of data returned, and parameters that previously processed quickly are now slow on the retrieve.
Thanks
This doesn't constantly happen, it's been about a month since it last happened, and there were no changes between when it last worked yesterday and today.
I've used the parameters in both settings (SQL Server, and PowerBuilder) at the same time with the same user accounts. What would cause this to return instantly in SQL Server, but take several minutes in PowerBuilder?
In the instance I tested there was only 15 rows of data returned, and parameters that previously processed quickly are now slow on the retrieve.
Thanks