DeDeCms文章标题批量替换
update dede_archives set title=replace(title,'旧标题','新标题')
DeDeCMS 文章作者批量替换
update dede_archives set writer=replace(writer,'旧作者','新作者')
织梦DeDeCMS 文章来源SQL批量替换命令
update dede_archives set source=replace(source,'旧来源','新来源')
DeDeCMS 文章标签批量替换
update dede_tagindex set tag=replace(tag,'旧关键字','新关键字')
update dede_taglist set tag=replace(tag,'旧标签','新标签')
织梦DeDeCMS 文章页关键字批量替换
update dede_archives set keywords=replace(keywords,'别人的','你的')
DeDeCMS 文章页描述批量替换的SQL命令
update dede_archives set description=replace(description,'旧描述','新描述')
DeDeCMS文章Url规则批量替换(把所有文章Url规则全部替换成{typedir}/{aid}.html这样一种形式)
update dede_arctype set namerule='{typedir}/{aid}.html';
DeDeCMS内容批量替换
update dede_addonarticle set body=replace(body,'旧内容','新内容')
DeDeCMS缩略图批量替换
update dede_archives set litpic=replace(litpic,'旧图地址','新图地址')
最后一个:DeDeCMS清空所有文章的SQL命令
DELETE FROM dede_addonarticle WHERE aid >= 1 and aid< =5000; DELETE FROM dede_arctiny WHERE id >= 1 and id< =5000; DELETE FROM dede_archives WHERE id >= 1 and id<=5000;
补:清空织梦回收站里所有的文章
delete dede_addonarticle,dede_archives,dede_arctiny from dede_addonarticle,dede_archives,dede_arctiny where dede_addonarticle.aid=dede_archives.id and dede_arctiny.id=dede_archives.id and dede_archives.arcrank='-2'
这些个常用织梦dedecms批量SQL命令都在这里了,整理不足的欢迎留言补上~~