Why Declared Variables Cause Bad Estimates
More From This Series
Going Further
For youWork With Your Databases the Way I DoVideo course, $250 until December 1, then $500For your teamAI for Database Teams WorkshopOne day, on-site or remote
Someone still has to know enough SQL Server to keep the robots in check, and that’s what my training is for.
How can you recommend using dynamic queries compare to non-dynamic ones if the later gets better plan by hashing the query?
I only do static non-dynamic and never used option recompile before
Yoni — I’m having trouble parsing your question, here.
Can you clarify what you mean by “hashing the query”, and where you see a non-dynamic query getting a better plan?