Not logged in - Login / Register


View History

CLR Reference: Last Name Dynamic

"Last Name Dynamic"

CLR function

SQLCLR:

SELECT [dbo].[LastNameDynamic] (<@lastName, nvarchar(4000)>)

Expected input

Data: Any non-empty string

Expected output

Common LastName (nvarchar(MAX))

Error handling

Returns an empty string when passing empty or NULL value.

Example

SQLCLR:

SELECT [dbo].[LastNameDynamic] ('Smith')