UFN_PROSPECTRESEARCHREQUEST_STATUSCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(11) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 1/27/2010 6:48:26 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_PROSPECTRESEARCHREQUEST_STATUSCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(11) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'New'
when 1 then 'Pending'
when 2 then 'Assigned'
when 3 then 'In progress'
when 4 then 'Completed'
when 5 then 'Rejected'
when 6 then 'Canceled'
end
end