UFN_VSECATEGORY_VSECATEGORYCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(70) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:39:56 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_VSECATEGORY_VSECATEGORYCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(70) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'Current Operations - Unrestricted'
when 1 then 'Current Operations - Restricted'
when 2 then 'Current Operations - Academic Divisions'
when 3 then 'Current Operations - Faculty and Staff'
when 4 then 'Current Operations - Research'
when 5 then 'Current Operations - Public Service and Extension'
when 6 then 'Current Operations - Library'
when 7 then 'Current Operations - Op and Maint of Plant'
when 8 then 'Current Operations - Student Financial Aid'
when 9 then 'Current Operations - Athletics'
when 10 then 'Current Operations - Other Restricted'
when 12 then 'Capital Purposes - Property, Building, Equipment'
when 13 then 'Capital Purposes - Endowment Unrestricted'
when 14 then 'Capital Purposes - Endowment Restricted'
when 15 then 'Capital Purposes - Loan Funds'
when 18 then 'Capital Purposes - Endowment Restricted - Academic Divisions'
when 19 then 'Capital Purposes - Endowment Restricted - Faculty and Staff'
when 20 then 'Capital Purposes - Endowment Restricted - Research'
when 21 then 'Capital Purposes - Endowment Restricted - Public Service and Extension'
when 22 then 'Capital Purposes - Endowment Restricted - Library'
when 23 then 'Capital Purposes - Endowment Restricted - Op and Maint of Plant'
when 24 then 'Capital Purposes - Endowment Restricted - Student Financial Aid'
when 25 then 'Capital Purposes - Endowment Restricted - Athletics'
when 26 then 'Capital Purposes - Endowment Restricted - Other'
end
end