sql server特殊功能:临时表是否存在

判断临时表是否存在

IF OBJECT_ID('tempdb..#temp') is not null
drop table #temp

posted @ 2020-12-27 15:38  yclizq  阅读(100)  评论(0编辑  收藏  举报