In SQL Server 2016 or SQL Azure, there is a feature called Dynamic Data Masking. However, it only has 4 types of masks. Is it possible to create custom mask functions? And how can I do this? I want a mask function like below(replace alphabet character with *):
String in database:
How do you do?
After masking:
*** ** *** **?