临时表操作

--创建临时表操作
select
列 into #tempTable from table
--正确的临时表删除操作 if object_id('tempdb..#tempTable') is not null Begin drop table #tempTable End
原文地址:https://www.cnblogs.com/wang-min/p/11550692.html