分类: 数据库开发技术
2006-03-17 10:19:10
if object_id('tempdb..#tmp1') is not null
begin
truncate table #tmp1
drop table #tmp1
end
if object_id('tempdb..#tmp2') is not null
begin
truncate table #tmp2
drop table #tmp2
end