使用命令:

truncate table sys_system_settings;

其中sys_system_settings为表名。截断表可以用于删除表中的所有数据,并自动恢复主键id从新计数。

MySQL截断表:truncate table 表名
另外可在Navicat中手动操作:
在表上点右键->截断表
MySQL截断表:truncate table 表名

相关文章:

  • 2022-12-23
  • 2022-01-03
  • 2021-07-28
  • 2021-07-29
  • 2021-09-15
  • 2021-11-26
  • 2023-03-20
猜你喜欢
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-11-13
相关资源
相似解决方案