- Home
- Developer Center
- Documentation CLR Data Masking Components
- Last Name Dynamic
CLR Data Masking Components
CLR Reference
CLR Data Masking Components
Open Navigation Article
- Home
- Developer Center
- Documentation CLR Data Masking Components
- 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')
×
CLR Reference: Last Name Dynamic
CLR Reference: Last Name Dynamic
- 1. Last Name Dynamic
- 1.1 CLR function
- 1.2 Expected input
- 1.3 Expected output
- 1.4 Error handling
- 1.5 Example
CLR Data Masking Components
CLR Reference