Hello all,
We currently have a stored procedure that is giving us fits. We use this stored procedure on a web site to give our sale staff there stats.
This stored procedure seems to run fine at first but slows done after time. We found that if we run the stored procedures code (we physicaly change the website to run from the SQL code on the site instead of the stored procedure) the stored procedure then runs fast again after changing it back.
Any Suggestions would be great.
We currently have a stored procedure that is giving us fits. We use this stored procedure on a web site to give our sale staff there stats.
This stored procedure seems to run fine at first but slows done after time. We found that if we run the stored procedures code (we physicaly change the website to run from the SQL code on the site instead of the stored procedure) the stored procedure then runs fast again after changing it back.
Any Suggestions would be great.