Testing speed of temp table vs. CTE in loop