Sql Server查找临时表,并删除

Sql Server查找临时表,并删除:
if exists(select * from tempdb..sysobjects where id=object_id('tempdb..#temp'))
drop table #temp
posted @ 2007-06-22 11:35  tohen  阅读(1019)  评论(1)    收藏  举报