UFN_ACTION_ITEM_TOPICCODE_GETDESCRIPTION
Return
| Return Type | 
|---|
| nvarchar(15) | 
Parameters
| Parameter | Parameter Type | Mode | Description | 
|---|---|---|---|
| @ID | tinyint | IN | 
Definition
 Copy 
                                    /*
Generated by Blackbaud AppFx Platform
Date:  8/2/2010 7:06:25 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_ACTION_ITEM_TOPICCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(15) WITH EXECUTE AS CALLER
AS
begin
    return case @ID
        when 0 then 'Abortion'
        when 1 then 'Budget'
        when 2 then 'Defense'
        when 3 then 'Drugs'
        when 4 then 'Education'
        when 5 then 'Environment'
        when 6 then 'Foreign Affairs'
        when 7 then 'Health Care'
        when 8 then 'Human Rights'
        when 9 then 'Labor'
        when 10 then 'Law/Judicial'
        when 11 then 'Other'
        when 12 then 'Taxes'
        when 13 then 'Technology'
        when 14 then 'Veterans'
        when 15 then 'Welfare'    
    end
end