UFN_COUNTRY_GETDEFAULT
Returns the ID of the default country.
Return
Return Type |
---|
uniqueidentifier |
Definition
Copy
CREATE function dbo.UFN_COUNTRY_GETDEFAULT()
returns uniqueidentifier
with execute as caller
as begin
declare @r uniqueidentifier
select top (1)
@r = DEFAULTCOUNTRYID
from
dbo.INTERNATIONALIZATIONINFO
order by
DATEADDED;
if @r is null select @r = dbo.UFN_COUNTRY_GETID('United States', 0);
return @r
end