if OBJECT_ID('tempdb..##tmp_CUSTOMERSERMST') is not null
drop table ..##tmp_CUSTOMERSERMST
ps: 临时表名前的 ‘tempdb..’是关键。。。。。。。。。。。。。。
if OBJECT_ID('tempdb..##tmp_CUSTOMERSERMST') is not null
drop table ..##tmp_CUSTOMERSERMST
ps: 临时表名前的 ‘tempdb..’是关键。。。。。。。。。。。。。。
转载于:https://www.cnblogs.com/ouc3www/archive/2009/12/03/1615943.html