UPDATE tablename SET message = REPLACE(message, '123456', '123')

 

将表中tablename的表的message字段里面的字符123456替换为123.这样省事多了.

相关文章:

  • 2021-11-26
  • 2021-06-07
  • 2022-02-11
  • 2021-10-11
  • 2021-07-03
  • 2022-12-23
  • 2021-11-04
猜你喜欢
  • 2021-09-08
  • 2021-05-24
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-05-05
  • 2022-12-23
相关资源
相似解决方案