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','jiloc.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','jiloc.com');
链接到文章: https://uziwp.com/13390.html
Backup Bootstrap cache Chrome Cloud Dashboard Device Disk Docker file Gutenberg古登堡 IIS Javascript jQuery Linux Mariadb Media MySQL Network Nginx OneThink Pages PHP PHP8 Posts Qcloud腾讯云 Redis Rsync SEO Siteground system Tags Theme ThinkPHP Ubuntu VPS Vultr Windows WooCommerce WordPress WordPress Plugins WordPress插件 主题 搬瓦工BWH 编辑器
评论已关闭