UFN_MKTCOMMUNICATIONTEMPLATEDEFAULT_CHANNELCODE_GETDESCRIPTION

Return

Return Type
nvarchar(13)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/11/2014 4:03:16 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=4.0.2.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_MKTCOMMUNICATIONTEMPLATEDEFAULT_CHANNELCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(13) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Mail'
        when 1 then 'Email'
        when 2 then 'Phone'
        when 255 then 'Multi-channel'    
    end

end