UFN_MEMBERSHIPPROGRAM_EXPIRESONCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(20) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:33:15 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_MEMBERSHIPPROGRAM_EXPIRESONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(20) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'Join date'
when 1 then 'End of month'
when 2 then 'End of calendar year'
when 3 then 'End of fiscal year'
when 4 then 'Specific date(s)'
end
end