Sql Server查找临时表,并删除 Sql Server查找临时表,并删除: if exists(select * from tempdb..sysobjects where id=object_id('tempdb..#temp'))drop table #temp