replace'将要更改的字符串','被替换掉的字符串','替换字符串');

select  replace ('15800003368','2102','****') from tmall_tcmessage;

输出为 '158****3367'

 

相关文章:

  • 2021-08-23
  • 2021-09-17
  • 2021-09-17
  • 2021-09-17
  • 2022-01-18
  • 2022-12-23
  • 2022-03-05
猜你喜欢
  • 2021-07-22
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案