数据库中的数据 需要批量的替换 , 替换某个词,或特殊符号
sql语句:
update 表名 set 字段名=REPLACE (字段名,'原来的值','要修改的值') update zhexuezhongguo as a set a.`正文`=REPLACE (a.`正文`,'摘 要:',' ') ; update user_item set addr=REPLACE (addr,'山水五千','山水无情') 添加条件: update user_item set addr=REPLACE (addr,'山水五千','山水无情') where time<'2013-11--5';
转载联系作者并注明出处:https://www.focusonseo.cn/syheo/119.html