织梦批量删除后台所有图片集文章,选择多行命令,然后在命令行中输入以下代码:
DELETE FROM dede_addonimages WHERE aid>0;
DELETE FROM dede_arctiny WHERE id>0;
DELETE FROM dede_archives WHERE id>0;
删除某个图片集id段的文章,比如你要删除id=100到id=5000,这个id段的文章如何删除,方法如下:
DELETE FROM dede_addonimages WHERE aid >= 100 and aid< =5000;
DELETE FROM dede_arctiny WHERE id >= 100 and id< =5000;
DELETE FROM dede_archives WHERE id >= 100 and id<=5000;
这样就删除掉了id100到5000的文章了。
如果是其他频道模型,只需要将dede_addonimages更改为对应模型附加表名称即可。