1
use master
2
go
3
4
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_copyProce]') and
5
6
OBJECTPROPERTY(id, N'IsProcedure') = 1)
7
drop procedure [dbo].[sp_copyProce]
8
GO
9
10
sp_copyProce
2
3
4
5
6
7
8
9
10