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

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

点赞

发表回复

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