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