USP_IDMAPPER_ADHOCQUERY_TO_OWNERAPPUSER

Parameters

Parameter Parameter Type Mode Description
@SOURCEID uniqueidentifier IN
@TARGETID uniqueidentifier INOUT

Definition

Copy


create procedure dbo.USP_IDMAPPER_ADHOCQUERY_TO_OWNERAPPUSER
(
    @SOURCEID uniqueidentifier,
    @TARGETID uniqueidentifier output
)
as
    set nocount on;

    select
        @TARGETID = OWNERID
    from
        dbo.ADHOCQUERY
    where
        ID = @SOURCEID;

    return 0;