USP_IDMAPPER_DISCOUNTGROUPTODISCOUNTCLONE
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@SOURCEID | uniqueidentifier | IN | |
@TARGETID | uniqueidentifier | INOUT |
Definition
Copy
CREATE procedure dbo.USP_IDMAPPER_DISCOUNTGROUPTODISCOUNTCLONE
(
@SOURCEID uniqueidentifier,
@TARGETID uniqueidentifier output
)
as
set nocount on;
set @TARGETID = (select DISCOUNTID from dbo.DISCOUNTGROUP where ID = @SOURCEID);
return 0;