dedecms清空所有文章怎么操作?sql语句如何写?
小C新建了一个站,确切的说是复制,出于seo考虑,决定清空所有文章,那么dedecms清空所有文章怎么操作?sql语句如何写呢?特别提醒:修改之前一定要先做好备份,以防万一!下面的语句在迫不得已的情况下才进行,小白切勿轻易操作!操作方法是:点击系统-系统设置-SQL命令行工具,选择多行命令,黏贴如下代码
delete from dede_addonarticle; delete from dede_addonimages; delete from dede_archives; delete from dede_arctiny; delete from dede_co_htmls; delete from dede_co_urls; delete from dede_co_mediaurls; delete from dede_tagindex ; delete from dede_taglist; delete from dede_keywords; TRUNCATE TABLE `dede_archives`; TRUNCATE TABLE `dede_archives`; ALTER TABLE `dede_archives` AUTO_INCREMENT =1; ALTER TABLE `dede_arctiny` AUTO_INCREMENT =1; ALTER TABLE `dede_addonarticle` AUTO_INCREMENT =1;
加微信交流