- Home
- Developer Center
- Documentation CLR Data Masking Components
- Generic Phone Nu Dynamic
CLR Data Masking Components
CLR Reference
CLR Data Masking Components
Open Navigation Article
- Home
- Developer Center
- Documentation CLR Data Masking Components
- Generic Phone Nu Dynamic
Generic Phone Nu Dynamic
CLR function
SQLCLR:
SELECT [dbo].[PhoneDynamic] (<@phone, nvarchar(4000)>)
Expected input
data: numeric phone (can contain separators). Length without separators from 9 to 15 digits.
Expected output
Generic Phone of the same format as input (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value. Fail on digits count less than 9 or more than 15
Example
SQLCLR:
SELECT [dbo].[PhoneDynamic] ('+380 (11) 121-54-45')
×
CLR Reference: Generic Phone Nu Dynamic
CLR Reference: Generic Phone Nu Dynamic
- 1. Generic Phone Nu 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