--地址数字*号
declare @i int
set @i=0
while @i<=9 
begin 
    update db_view set address=REPLACE(address,@i,'*')
    set @i=@i+1
end
--电话号码中间6位*号
update db_view set telcode=REPLACE(telcode,SUBSTRING(telcode,2,6),'******')
--姓名后面2位*号
update db_view set name=REPLACE(name,SUBSTRING(name,2,2),'**')

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-12-16
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案