CTE takes forever to execute the query compare to Temporary table in SQL Server

前端 未结 0 1837
野性不改
野性不改 2021-01-20 02:46

I want to optimize the CTE in SQL Server. CTE takes so long to execute the query. However, when I use the temp table instead CTE execution is quick. Is it because of joining

相关标签:
回答
  • 消灭零回复
提交回复
热议问题