织梦dedecms清空所有会员的sql语句怎么写

时间:2019-11-22 来源:UU仿站

  执行下面的sql语句即可完成清空,清空前建议先做好数据备份以免发生错误。

  DELETE FROM dede_member WHERE mid >= 2 and mid<=200000;

  DELETE FROM dede_member_person WHERE mid >= 2 and mid<=200000;

  DELETE FROM dede_member_space WHERE mid >= 2 and mid<=200000;

  DELETE FROM dede_member_tj WHERE mid >= 2 and mid<=200000;

  DELETE FROM dede_member_operation WHERE aid >= 2 and aid<=200000;