1.判断某个存储过程是否存在 if exists(select 1 from sysobjects where name = 'XXXXXX' and xtype = 'P') begin drop proc XXXXXX end go 2.判断某张表是否存在 if not Exists(selec
posted on 2019-08-20 14:04  智慧校园-  阅读(360)  评论(0编辑  收藏  举报