织梦用SQL命令批量删除指定栏目全部文章方法
作者:达特 日期:2023-05-19 分类:CMS教程
红色的10是你栏目的ID.把它修改成你要删除文章的栏目ID即可,在织梦后台系统设置里面SQL命令行工具执行下列命令即可
delete from dede_archives where typeid=10;
delete from dede_arctiny where typeid=10;
delete from dede_addonarticle where typeid=10;
delete from dede_archives where typeid=10;
delete from dede_arctiny where typeid=10;
delete from dede_addonarticle where typeid=10;