UFN_BENEFITSITE_GETSITES

Returns a table of sites for a corresponding benefit.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@BENEFITID uniqueidentifier IN

Definition

Copy


create function dbo.UFN_BENEFITSITE_GETSITES(@BENEFITID uniqueidentifier)
returns table
as return
            select
                ID,
        SITEID
            from
                dbo.BENEFITSITE
            where
                BENEFITID = @BENEFITID;