判断存储过程是否存在

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[INTO_RJZ_KIS]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[INTO_RJZ_KIS]
GO

posted @ 2020-06-10 16:21  liangyuwen  阅读(237)  评论(0编辑  收藏  举报