MySQL替换文字

UPDATE `yx_archives` SET `keywords` = REPLACE(`keywords`, '最', '');
UPDATE `yx_archives` SET `title` = REPLACE(`title`, '最', '');
UPDATE `yx_archives` SET `description` = REPLACE(`description`, '最', '');
UPDATE `yx_archives` SET `shorttitle` = REPLACE(`shorttitle`, '最', '');
UPDATE `yx_addonarticle` SET `body` = REPLACE(`body`, '最', '');

UPDATE `yx_arctype` SET `description` = REPLACE(`description`, '最', '');
UPDATE `yx_arctype` SET `keywords` = REPLACE(`keywords`, '最', '');
UPDATE `yx_arctype` SET `content` = REPLACE(`content`, '最', '');

 

UPDATE `hr_addonarticle` SET `body` = REPLACE(`body`, '全球级', '');

 

UPDATE `ecs_category` SET `keywords` = REPLACE(`keywords`, '首发', '');
UPDATE `ecs_category` SET `cat_desc` = REPLACE(`cat_desc`, '首发', '');
UPDATE `ecs_category` SET `cat_title` = REPLACE(`cat_title`, '首发', '');

UPDATE `ecs_goods` SET `goods_name` = REPLACE(`goods_name`, '首发', '');
UPDATE `ecs_goods` SET `goods_title` = REPLACE(`goods_title`, '首发', '');
UPDATE `ecs_goods` SET `keywords` = REPLACE(`keywords`, '首发', '');
UPDATE `ecs_goods` SET `goods_desc` = REPLACE(`goods_desc`, '首发', '');

UPDATE `ecs_article_cat` SET `keywords` = REPLACE(`keywords`, '首发', '');
UPDATE `ecs_article_cat` SET `cat_desc` = REPLACE(`cat_desc`, '首发', '');
UPDATE `ecs_article_cat` SET `page_title` = REPLACE(`page_title`, '首发', '');

UPDATE `ecs_article` SET `title` = REPLACE(`title`, '首发', '');
UPDATE `ecs_article` SET `keywords` = REPLACE(`keywords`, '首发', '');
UPDATE `ecs_article` SET `description` = REPLACE(`description`, '首发', '');
UPDATE `ecs_article` SET `content` = REPLACE(`content`, '首发', '');

posted @   Abner3721  阅读(707)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示