UFN_SCHEDULE_WEEKCODE_GETDESCRIPTION

Return

Return Type
nvarchar(6)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  8/17/2011 2:19:39 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.91.1535.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_SCHEDULE_WEEKCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(6) WITH EXECUTE AS CALLER
AS
begin

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

end