e
q
u
e
s
t
a
d
e
m
o < back
CLR Reference: Country Code Dynamic
{TOC}
"Country Code"
CLR function
SQLCLR:
SELECT [dbo].[CountryDynamic] (<@country, nvarchar(4000)>)
Expected input
data:Data: Valid Country name or Code (based on ISO 3166)
Expected output
Valid Country Name or Code (based on ISO 3166) string (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value.
Example
SQLCLR:
SELECT [dbo].[CompanyNameDynamic] ('Germany')