UFN_ADDRESSBOOKFAF_PREFERREDCOMMUNICATIONCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(12) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 4/29/2010 7:19:26 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.6.1444.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_ADDRESSBOOKFAF_PREFERREDCOMMUNICATIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(12) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 1 then 'Email'
when 2 then 'Home Phone'
when 3 then 'Cell Phone'
when 4 then 'Regular Mail'
when 5 then 'Other'
end
end