Why is my stored procedure fast one day and slow the next?
Same proc, same code, suddenly 100× slower, and fast again when you run it in SSMS. Here's how parameter sniffing causes it, how to prove it and the fixes that actually hold.
In this article
- 01What's actually happening
- 02Why it's fast in SSMS
- 03Confirm it
- 04Fixes, from lightest to heaviest
· 8 min read
