CLR Reference: Names With Gender
Search
OpenNavigationArticle
CLR Data Masking Components
OpenNavigationArticle
Open Navigation Article
CLR Reference: Names With Gender
  • Request Trial Request
    a trial
  • Request Demo Request
    a demo
  • Request Quote Request
    a quote

Name With Gender

CLR function

SQLCLR:

SELECT [dbo].[NameWithGenderRandom] (<@name, nvarchar(4000)>, <@gender NVARCHAR (4000)>)

Expected input

Data: Any non-empty string gender: Gender Clause (ex. Ms., Mrs, etc.). Can be empty.

Expected output

Gender is non-empty and has valid gender format or name contains gender clause: Common Name with corresponding gender (nvarchar(MAX)) Gender is empty or has invalid format and name doesn’t contain gender clause: Common unisex name

Error handling

Returns an empty string when passing empty or NULL value in name parameter.

Example

SQLCLR:

SELECT [dbo].[NameWithGenderRandom] ('Kate Portman', 'Ms')

About Hush-Hush Contact Us

E-mail: info@mask-me.net

tel: 855.968.4874

Privacy Policy Terms of Use