sql判断临时表是否存在

if not (select object_id('Tempdb..#TempTable')) is null
drop table #TempTable
posted @ 2012-02-24 17:52  顿金  阅读(111)  评论(0)    收藏  举报