e
q
u
e
s
t
a
d
e
m
o < back
CLR Reference: City Name
{TOC}
"City Name"
CLR function
<.CLRSQLCLR: function:
SELECT xxxxx(xxx,xxx,xxx)>[dbo].[CityNamesRandom] (<@alphaNumeric, nvarchar(4000)>)
Expected input
<.expectedData: input:Any datanon-empty type, rule, sample> string
Expected output
<.expectedValid output:City dataName type,string rule, sample>(nvarchar(MAX))
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value.
Example
<.example>SQLCLR:
SELECT [dbo].[CityNamesRandom] ('New York')