UFN_APPEALMAILINGSETUPLETTER_REVENUECRITERIACODE_GETDESCRIPTION

Return

Return Type
nvarchar(19)

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_APPEALMAILINGSETUPLETTER_REVENUECRITERIACODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(19) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Average gift amount'
        when 1 then 'Largest gift amount'
        when 2 then 'Latest gift amount'
        when 3 then 'Total gift amount'    
    end

end