sql server特殊功能:临时表是否存在

判断临时表是否存在

IF OBJECT_ID('tempdb..#temp') is not null
drop table #temp

原文地址:https://www.cnblogs.com/yclizq/p/14197471.html