IF OBJECT_ID('tempdb..##table_temporary') IS NOT NULL
BEGIN
DROP TABLE ##table_temporary
end
CREATE TABLE ##table_temporary
(
EmpCode VARCHAR(40) NOT NULL,
EmpName NVARCHAR(40) NOT NULL
);
INSERT INTO ##table_temporary
( EmpCode, EmpName )
SELECT EmpCode, EmpName FROM
[dbo].[Employee]
SELECT * FROM ##table_temporary