UFN_MEMBERSHIPLEVELTERM_TERMCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(8) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:33:16 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_MEMBERSHIPLEVELTERM_TERMCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(8) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then '1 year'
when 1 then '2 years'
when 2 then '3 years'
when 3 then '4 years'
when 4 then '5 years'
when 5 then '10 years'
when 6 then 'Lifetime'
end
end