Skip to content
Home » SQL SERVER

SQL SERVER

SQL Server Tutorials| Basics & Advance Concepts | Interview Question & Answer Series | SQL Server Tricks & Tips

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