UFN_QUEUEPROCESSRESULT_COMPLETIONCODE_GETDESCRIPTION

Return

Return Type
nvarchar(16)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  4/27/2009 10:57:22 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.0.62.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_QUEUEPROCESSRESULT_COMPLETIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(16) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Completed'
        when 1 then 'Did not complete'    
    end

end