I have replaced 3 temp tables in my batch with multiple CTEs.
I see remarkable 50% benefit in REads and Writes have reduced to 0, however, I wanted to know on the CPU.
Is CTE CPU Intensive? I am getting varying CPU results.
Also, I see from other questions that CTEs hit performance when table size is v great. Is that so?