UFN_COMBINATION_GETCONSTITUENCYCODES

This function returns combination constituency codes given its ID.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@COMBINATIONID uniqueidentifier IN

Definition

Copy


        CREATE function dbo.UFN_COMBINATION_GETCONSTITUENCYCODES
    (
      @COMBINATIONID uniqueidentifier
    )
        returns table
        as return
            select
                ID,
        CONSTITUENCYCODEID,        
        CONSTITUENCYSYSTEMNAMEID,
        SEQUENCE
            from
                dbo.COMBINATIONCONSTITUENCY
            where
                COMBINATIONID=@COMBINATIONID;