mysql向表中某字段后追加一段字符串:

update table_name set field=CONCAT(field,'',str);

mysql 向表中某字段前加字符串:

update table_name set field=CONCAT('str',field);

  

相关文章:

  • 2022-12-23
  • 2021-10-16
  • 2021-11-23
  • 2022-12-23
  • 2021-06-12
  • 2022-02-14
  • 2021-04-26
  • 2021-10-24
猜你喜欢
  • 2021-08-02
  • 2021-11-23
  • 2022-12-23
相关资源
相似解决方案