UFN_STUDENTRELATIONCONSTITUENCYSETTINGS_RELATEDTOCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(7) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:16:30 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_STUDENTRELATIONCONSTITUENCYSETTINGS_RELATEDTOCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(7) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'Student'
when 1 then 'Alumni'
end
end