时间:2022-09-28加入收藏
update phome_ecms_表 set 替换字段=REPLACE(替换字段,'原字符','新字符');
批量替换phome_ecms_news数据表内的newstext字段内的“原来”,替换成“现在”。UPDATE phome_ecms_news SET newstext=REPLACE(newstext,'原来','现在');
UPDATE `www_bingdou_com_cn_enewszt` SET ztimg=REPLACE(ztimg,'https://www.bingdou.com.cn/d/file/','/d/file/');
update phome_ecms_news_data_1 set newstext=REPLACE (newstext,'/d/file/','http://www.xxxx.com/d/file/');