Not logged in - Login


R
e
q
u
e
s
t

a

d
e
m
o
< back

CLR Reference: Last Name

{TOC}

"Last Name"

CLR function

<.CLRSQLCLR: function:

SELECT xxxxx(xxx,xxx,xxx)>[dbo].[LastNameRandom] (<@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].[LastNameRandom] ('Jefferson')

Download a Trial