判断局部临时表是否存在

if object_id('tempdb..#tempcompare') is not null drop table #tempcompare 

猜你喜欢

转载自kingschan.iteye.com/blog/1568679