UPDATE shop_products AS t SET
t.spes_desc=REPLACE(t.spes_desc,'被替换内容','替换')
WHERE t.id > 0
转载请注明:莫晓寒 » MYSQL 批量替换字段部分内容
UPDATE shop_products AS t SET
t.spes_desc=REPLACE(t.spes_desc,'被替换内容','替换')
WHERE t.id > 0
转载请注明:莫晓寒 » MYSQL 批量替换字段部分内容