Fundamentals of table expressions, Part 7 – CTEs, optimization considerations
SQL Performance
OCTOBER 14, 2020
In Part 4 of the series, which focused on optimization of derived tables, I described a process of unnesting/substitution of table expressions. The TL;DR version of substitution/unnesting of CTEs is that the process is the same as it is with derived tables. You can find the script that creates and populates PerformanceV5 here.
Let's personalize your content