iggyfernandez.wordpress.com
Query Tuning By Example: Throw Away That Execution Plan
I was asked to tune the following SQL query; it usually retrieved less than a hundred rows but took several minutes of execution time. Table names and column names have been changed in the interest…