e
q
u
e
s
t
a
d
e
m
o < back
CLR Reference: Full Name Info
{TOC}
"Full Name Info"
CLR function
SQLCLR:
SELECT [dbo].[FullNameRandom] (<@fullName, nvarchar(4000)>)
Expected input
Data: Any non-empty string
Expected output
Common Full Name ([First Name] [Middle Name]Initials] [Last Name]) (nvarchar(MAX))(nvarchar(MAX)).
Error handling
Returns an empty string when passing empty or NULL value.
Example
SQLCLR:
SELECT [dbo].[FullNameRandom] ('Max JJ. Smith')