标签:sre reference null 临时表 master rop pre sts cst
IF OBJECT_ID(‘TEMPDB..#BCROSSREFERENCE ‘) IS NOT NULL DROP TABLE #BCROSSREFERENCE IF OBJECT_ID(‘TEMPDB..#SCVTMP_BCUSTOMER‘) IS NOT NULL DROP TABLE #SCVTMP_BCUSTOMER IF OBJECT_ID(‘TEMPDB..#PDS_CREATE_SCV_TEMP‘) IS NOT NULL DROP TABLE #PDS_CREATE_SCV_TEMP IF OBJECT_ID(‘TEMPDB..#MASTER_NOTIN_LCSTSA‘) IS NOT NULL DROP TABLE #MASTER_NOTIN_LCSTSA IF OBJECT_ID(‘TEMPDB..#MASTER_NOTIN_LCSTCCG‘) IS NOT NULL DROP TABLE #MASTER_NOTIN_LCSTCCG
SQLServer 中的存储过程中判断临时表是否存在,存在则删除临时表
标签:sre reference null 临时表 master rop pre sts cst
原文地址:https://www.cnblogs.com/qianjinyan/p/10271916.html