Community

#0378 – SQL Server – Performance – CASE evaluates all the input result expressions

(Nakul Vachhrajani) Recently, I asked to troubleshoot a performance issue with a stored procedure that was being used for reporting purposes. Looking at the execution plan, I realized that while the joins and the filters were as expected, the core bottleneck were sub-queries in the CASE expression.

Read More - Register for Free Membership