Crie tabela temp no SQL
-- CREATE TEMP TABLE
Create Table #MyTempTable (
EmployeeID int
);
Scary Snail
-- CREATE TEMP TABLE
Create Table #MyTempTable (
EmployeeID int
);
DECLARE @TempTable AS TABLE (Id INT); -- add column that you need with datatype.