Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 2d 00h 42mSee the sale

4.3 Tuning usp_RptFastestAnswers

This time I analyze usp_RptFastestAnswers, starting with only query changes: And in another session, I try to fix it with just index changes alone: And in yet another session, I don’t change the query or the indexes – I just try to reduce the stench of parameter sniffing by caching multiple plans.