UFN_BBNC_GETDEFAULTCOUNTRYSTRING

Returns the description of the default county for this installation.

Return

Return Type
nvarchar(100)

Definition

Copy


            create function dbo.UFN_BBNC_GETDEFAULTCOUNTRYSTRING
            (
            )
            returns nvarchar(100)
            as
            begin
                declare @COUNTRYID uniqueidentifier;
                declare @R nvarchar(100);
                set @R = '';

                select @COUNTRYID = dbo.UFN_COUNTRY_GETDEFAULT();

                if not @COUNTRYID is null
                    select @R = dbo.UFN_COUNTRY_GETDESCRIPTION(@COUNTRYID);

                return @R;
            end