Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Masking or substring data while replicating data

$
0
0

I  have a table that has  some  unencrypted data  that needs to be replicated to another server. I want to do :

1. Mask the data with an x except the last 5 characters e.g.  xxxx12345  

2. just replicate the last 5 characters of the data in the column (substr the last 5 characters)

Is there a way I can do that other than writing a trigger on the subscriber ?

Thanks

R


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>