帮客户整理文档时,有好多文档不需要,而按织梦自定的的删除文章功能要很久不方便,便想到了用织梦dedecms 使用SQL语句批量删除指定ID范围文章
DELETE FROM dede_addonarticle WHERE aid >= 1 and aid<=2000;
DELETE FROM dede_arctiny WHERE id >= 1 and id<=2000;
DELETE FROM dede_archives WHERE id >= 1 and id<=2000;
id>= 1 这里的1是从文章ID为1开始,到2000; 大家可以自己设定;
新闻热点
疑难解答