DEDE 批量删除文章关键词
UPDATE dede_archives SET keywords = ''
功能说明:文章内容批量替换SQL语句
update `#@__addonarticle` set body=REPLACE(body,'论坛','社区') where body like "%论坛%"
以上SQL语句作用是查找所有文章带有“论坛”的词组,并将论坛替换为“社区”
update `dede_addonarticle` set body=REPLACE(body,'jpg///"','jpg/"') where body like "%jpg///"%"
update dede_addonarticle set body=replace(body,'原来的字符','替换后的字符')
例如:update dede_addonarticle set body=replace(body,'音乐下载','音乐试听')删除内容表.用
delete from dede_addonarticle where length(body)<10
然后执行这样就正常运行了~
DELETE dede_archives
from dede_archives
left join dede_addonarticle on dede_archives.id=dede_addonarticle.aid
where dede_addonarticle.aid is null