MySQL的批量替换,可以使用 REPLACE 函数,下面是具体用法:
REPLACE(field,find_str,replace_str):
字段field的内容中的find_str
将被 替换为 replace_str
。
例如:
update wp_posts set post_content=replace(post_content,'www.jjhr.net','xyryd.com');
MySQL的批量替换,可以使用 REPLACE 函数,下面是具体用法:
REPLACE(field,find_str,replace_str):
字段field的内容中的find_str
将被 替换为 replace_str
。
例如:
update wp_posts set post_content=replace(post_content,'www.jjhr.net','xyryd.com');
腾讯云QCloud
2核2G4M明升m88,新老用户同享年付¥99、MySQL 1核1G年付仅需¥59 续费与新购同价
665443669
,获取商家优惠推送、禁言。
发表回复