UFN_REGISTRANTBATCH_REGISTRANTROLECODE_GETDESCRIPTION

Return

Return Type
nvarchar(37)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/30/2010 11:36:01 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_REGISTRANTBATCH_REGISTRANTROLECODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(37) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Start a company'
        when 1 then 'Start a team under a company'
        when 2 then 'Start an independent team'
        when 3 then 'Join a team'
        when 4 then 'Start a household under a company'
        when 5 then 'Start a household under a team'
        when 6 then 'Start an independent household'
        when 7 then 'Join as an individual under a company'
        when 8 then 'Join as individual participant'
        when 9 then 'Join a household'    
    end

end