UFN_PDACCOUNTSTRUCTURE_SEPARATORCODE_GETID

Return

Return Type
tinyint

Parameters

Parameter Parameter Type Mode Description
@Description nvarchar(14) IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  2/1/2011 8:58:26 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.9.1001.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_PDACCOUNTSTRUCTURE_SEPARATORCODE_GETID(@Description nvarchar(14))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when '-  Hyphen' then 1
        when ',  Comma' then 2
        when '/  Slash' then 3
        when ';  Semicolon' then 4
        when '.  Period' then 5
        when '<No separator>' then 6
        else -1
        end 

end