UFN_BATCHEVENTREGISTRANT_REGISTRATIONSTATUSCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(28) | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 8/17/2011 2:19:39 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.91.1535.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_BATCHEVENTREGISTRANT_REGISTRATIONSTATUSCODE_GETID(@Description nvarchar(28))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Registered' then 0
when 'Registered (will not attend)' then 1
when 'Canceled' then 2
else -1
end
end