CLR Reference: US Phone Nu
Search
OpenNavigationArticle
CLR Data Masking Components
OpenNavigationArticle
Open Navigation Article
CLR Reference: US Phone Nu
  • Request Trial Request
    a trial
  • Request Demo Request
    a demo
  • Request Quote Request
    a quote

US Phone Nu

CLR function

SQLCLR:

SELECT [dbo].[UsaPhoneRandom] (<@usaPhone, nvarchar(4000)>)

Expected input

Data: numeric USA Phone (can contain separators). Length without separators - 10 digits.

Expected output

Generic USA Phone of the same format as input (nvarchar(MAX))

Error handling

Returns an empty string when passing empty or NULL value. Fails on digits count less or more than 10

Example

SQLCLR:

SELECT [dbo].[UsaPhoneRandom] ('898.456.4456')

About Hush-Hush Contact Us

E-mail: info@mask-me.net

tel: 855.968.4874

Privacy Policy Terms of Use