/*
** $Id: template,v 1.1.1.1 2002/05/07 20:51:53 mpeppler Exp $
**
**
*/
if exists (select * from sysobjects where type = "P"
    and name = "xxx" )
begin
	drop proc xxx
	print "proc: xxx dropped"
end
go

create proc xxx
as

go

grant execute on xxx to yyy
go

if exists (select * from sysobjects where type = "P"
    and name = "xxx" )
begin
	print "proc: xxx created"
end
go
