UFN_POSTTOGLPROCESS_POSTDATEUPTOCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(18) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 10/27/2011 12:07:06 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.92.537.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_POSTTOGLPROCESS_POSTDATEUPTOCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(18) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'Today'
when 1 then 'Yesterday'
when 2 then 'End of last week'
when 3 then 'End of this week'
when 4 then 'End of last period'
when 5 then 'End of this period'
when 6 then 'Specific date'
end
end