UFN_EXCHANGECALENDARSYNC_EXPECTEDDATEINTERVALCODE_GETDESCRIPTION

Return

Return Type
nvarchar(34)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  12/17/2008 2:18:48 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_EXCHANGECALENDARSYNC_EXPECTEDDATEINTERVALCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(34) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'One month from the current date'
        when 1 then 'Two months from the current date'
        when 2 then 'Three months from the current date'
        when 3 then 'Four months from the current date'
        when 4 then 'Five months from the current date'
        when 5 then 'Six months from the current date'    
    end

end