Sql Server查找临时表,并删除

Sql Server查找临时表,并删除:
if exists(select * from tempdb..sysobjects where id=object_id('tempdb..#temp'))
drop table #temp
原文地址:https://www.cnblogs.com/tohen/p/792877.html