USP_DATAFORMTEMPLATE_EDIT_EventConstituentSite

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN
@DEFAULTCONSTITUENTSITEID uniqueidentifier IN

Definition

Copy

CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDIT_EventConstituentSite(
        @ID uniqueidentifier,
      @DEFAULTCONSTITUENTSITEID uniqueidentifier
)
as

    set nocount on;
    begin try

        update dbo.EVENTEXTENSION 
    set SITEID = @DEFAULTCONSTITUENTSITEID
    where EVENTID = @ID



    end try
    begin catch
        exec dbo.USP_RAISE_ERROR
        return 1
    end catch

return 0;