UFN_ADDRESSVALIDATIONUPDATE_NCOAMAILGRADECODE_GETDESCRIPTION

Return

Return Type
nvarchar(44)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

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

    return case @ID
        when 0 then ''
        when 1 then 'A - This is an accurate, mail-able address'
        when 2 then 'B - Record is probably deliverable'
        when 3 then 'C - The record may or may not be deliverable'
        when 4 then 'F - The record is undeliverable. Do not mail'    
    end

end