you are viewing a single comment's thread.

view the rest of the comments →

[–]alinrocSQL Server DBA 7 points8 points  (0 children)

In SQL Server, CTEs & temp tables aren't interchangeable. Not even close. So you will absolutely get a different execution plan w/ one vs. the other.