Skip to content
Home ยป How to mask the column values in SQL

How to mask the column values in SQL

SQL Exercise – 21

SQL Exercise:

Mask Sensitive Data with * based on character lengths
Write a query to mask sensitive data such as email address, Phone Number and Aadhaar Number in the given table dynamically, where the number of * corresponds to the length of the characters being masked.

Loading