mysql 批量替换字符串

UPDATE tb_content
SET scontent = REPLACE(scontent, ‘/upload/’, ‘http://xxx.com/website/upload/’)
syntax
update table set column = replace(column,originstring,replacestring)

发表评论

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