February 1, 2009 at 7:05 pm
Great article Jeff. Another developer had a stored procedure that was run daily to create a report. The stored procedure took 3 hours to run. The SP had multiple "death by SQL" updates in it. After rewriting the code, the sp now takes 2 minutes (max) to run.
I was a beginner at SQL when I ran across this article, and I have used this technique in many queries.
February 1, 2009 at 8:59 pm
Matt (2/1/2009)
Great article Jeff. Another developer had a stored procedure that was run daily to create a report. The stored procedure took 3 hours to run. The SP had multiple "death by SQL" updates in it. After rewriting the code, the sp now takes 2 minutes (max) to run.I was a beginner at SQL when I ran across this article, and I have used this technique in many queries.
That's awesome, Matt. There's no better compliment an author can have than having someone come back with such a success story. Thank you for taking the time to post it. I very happy to have been able to have helped through the article.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 76 through 76 (of 76 total)
You must be logged in to reply to this topic. Login to reply