I want show the encrypted Number in report like this:
Number : 7890123478
I want to show this as an output result: *******478
Thanks in Advance!
For sql this query can help you.
declare @ph varchar(10) = '7890123478'
select replicate('*',len(@ph)-3)+ right(@ph,3)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.