MYSQL 替换字段值中一部分替换再拼接剩余部分
发表于:2021-12-24 09:42:53浏览:1757次
update sale_task set title =CONCAT(replace(substring_index(title, ',', 1),'.',':'),",",substring_index(title, ',', -1)) where id=27;
栏目分类全部>
update sale_task set title =CONCAT(replace(substring_index(title, ',', 1),'.',':'),",",substring_index(title, ',', -1)) where id=27;