UFN_ACTIONITEMPETITION_THERMOMETERPOSITIONCODE_GETDESCRIPTION

Return

Return Type
nvarchar(6)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/30/2010 11:16:30 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_ACTIONITEMPETITION_THERMOMETERPOSITIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(6) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Left'
        when 1 then 'Right'
        when 2 then 'Top'
        when 3 then 'Bottom'    
    end

end