UFN_COUNTRY_GETABBREVIATION

Return

Return Type
nvarchar(5)

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN

Definition

Copy


CREATE function dbo.UFN_COUNTRY_GETABBREVIATION(@ID uniqueidentifier) 
returns nvarchar(5
with execute as caller
as
begin
    declare @ABBREVIATION nvarchar(5)

    select @ABBREVIATION = ABBREVIATION from dbo.COUNTRY where ID = @ID

    return @ABBREVIATION
end