mysql 替换某字段的第7位字符

update table set num=CONCAT(replace(num,SUBSTR(num,7),4),SUBSTR(num,8)) where id=11;

点赞
  1. Pokerdomded说道:
    Google Chrome Windows 10
    https://t.me/officials_pokerdom/3154
  2. LuckyBandit说道:
    Google Chrome Windows 10
    https://t.me/s/Martin_officials

发表回复

电子邮件地址不会被公开。必填项已用 * 标注