UFN_TIMEZONEENTRYADJUSTMENTRULE_STARTWEEKOFMONTHCODE_GETDESCRIPTION

Return

Return Type
nvarchar(6)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  4/29/2010 7:19:26 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.6.1444.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_TIMEZONEENTRYADJUSTMENTRULE_STARTWEEKOFMONTHCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(6) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 1 then 'First'
        when 2 then 'Second'
        when 3 then 'Third'
        when 4 then 'Fourth'
        when 5 then 'Fifth'    
    end

end