Jack Brosch
2016-02-19 16:08:41 UTC
I'm working through a SQL interpreter that only allows one outer select command (sub-queries / unions are supported) and I'm trying to work around this ... any suggestions?
-- Works
Select *
INTO TempJack
FROM Sales.Customer
Select *
From TempJack
-- Doesn't work
SELECT * FROM
(
SELECT *
INTO TempJack
FROM Sales.Customer
)
-- Works
Select *
INTO TempJack
FROM Sales.Customer
Select *
From TempJack
-- Doesn't work
SELECT * FROM
(
SELECT *
INTO TempJack
FROM Sales.Customer
)