SQL Server builds an execution plan tuned (kinda) for the first set of parameters it sees, and then reuses that same execution plan for all kinds of other parameters. That’s usually a good thing, but if the plan gets freed out of memory for some reason, then you’re very, very susceptible to whatever parameters happen...
To access this incredible, amazing content, you gotta get Live Class Season Pass, The Team Membership, Mastering Query Tuning, Level 3 Bundle (Live Classes, Lab VM Included) or Level 2 Bundle (Live Classes, No VM Included), or log in if you already shelled out the cash.
Menu
{"cart_token":"","hash":"","cart_data":""}