清理管理员登录日志:
TRUNCATE `[!db.pre!]enewslog`;
清理管理员登录失败记录:
TRUNCATE `[!db.pre!]enewsloginfail`;
清理管理员操作日志:
TRUNCATE `[!db.pre!]enewsdolog`;
首先清空栏目:
TRUNCATE `[!db.pre!]enewsclass`;
TRUNCATE `[!db.pre!]enewsclassadd`;
清空TAG标签:
TRUNCATE `[!db.pre!]enewstags`;
TRUNCATE `[!db.pre!]enewstagsclass`;
TRUNCATE `[!db.pre!]enewstagsdata`;
清空附件关联:
TRUNCATE `[!db.pre!]enewsfile_1`;
清空会员:
TRUNCATE `[!db.pre!]enewsmember`;
TRUNCATE `[!db.pre!]enewsmemberadd`;
清空phome_ecms_news这个表!比如清理默认新闻模型里面的信息批量方法就是如下代码:
TRUNCATE `[!db.pre!]ecms_news`;
TRUNCATE `[!db.pre!]ecms_news_check`;
TRUNCATE `[!db.pre!]ecms_news_check_data`;
TRUNCATE `[!db.pre!]ecms_news_data_1`;
TRUNCATE `[!db.pre!]ecms_news_index`;