how to declare and set temp table in sql code example
Example: sql server: creating temp table by selecting records from other tables
SELECT *
INTO #
FROM
WHERE
ORDER BY
OPTION
SELECT *
INTO #
FROM
WHERE
ORDER BY
OPTION