把列中凡是有2011的全部修改成2014,如 lieming 里的201101131431改成201401131431,写法:

update tab set lieming = replace(lieming,'2011','2014');

 

 

譬如你举例的这几个
update 表名 set 字段名=replace(字段名,'aaaa','cccc');

这样以后
aaaaxxxbbb 变成 ccccxxxbbb
aaaamtbbb 变成 ccccmtbbb

 

update tb_area_city set busTableTimeUrl = replace(busTableTimeUrl,'https','http');

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-12-06
猜你喜欢
  • 2021-08-03
  • 2022-12-23
相关资源
相似解决方案