批量替换MYSQL字段内容

发表于

update blog set abc=replace(abc,’bcd’,’cde’); 

blog 是表名 abc 是字段名 bcd 是被替换字段  cde 是替换字段

评论

发表回复

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