Not logged in - Login


View History
R
e
q
u
e
s
t

a

d
e
m
o

CLR Reference: Country Code Dynamic

{TOC}

"Country Code"

CLR function

SQLCLR:

SELECT [dbo].[CountryDynamic] (<@country, nvarchar(4000)>)

Expected input

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')

Download a Trial