UFN_COMBINATIONAVAILABILITY_GETCONSTITUENCYCODES

This function returns combination availability constituency codes given its ID.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@COMBINATIONAVAILABILITYID uniqueidentifier IN

Definition

Copy


        create function dbo.UFN_COMBINATIONAVAILABILITY_GETCONSTITUENCYCODES
    (
      @COMBINATIONAVAILABILITYID uniqueidentifier
    )
        returns table
        as return
            select
                ID,
        CONSTITUENCYCODEID,        
        SEQUENCE
            from
                dbo.COMBINATIONAVAILABILITYCONSTITUENCY
            where
                COMBINATIONAVAILABILITYID=@COMBINATIONAVAILABILITYID;