sql - How to create Temp table with SELECT * INTO tempTable FROM CTE Query - Stack Overflow

sql - How to create Temp table with SELECT * INTO tempTable FROM CTE Query - Stack Overflow

瀏覽:1495
日期:2025-04-25
I have a MS SQL CTE query from which I want to create a temporary table. I am not sure how to do it as it gives an Invalid Object name error. Below is the whole query for reference SELECT * INTO ... The SELECT ... INTO needs to be in the select from the C...看更多