UFN_MEMBERSHIPLEVELRENEWAL_INTERVALCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(14) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 3/19/2013 1:11:27 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=3.0.504.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_MEMBERSHIPLEVELRENEWAL_INTERVALCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(14) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then '1 month'
when 1 then '2 months'
when 2 then '3 months'
when 3 then '4 months'
when 4 then '5 months'
when 5 then '6 months'
when 6 then '7 months'
when 7 then '8 months'
when 8 then '9 months'
when 9 then '10 months'
when 10 then '11 months'
when 11 then '12 months'
when 12 then 'Rest of window'
end
end