mysql | 中怎么删除表中所有数据

清空全部数据,不写日志,不可恢复,速度极快truncate table 表名;

清空全部数据,写日志,数据可恢复,速度慢delete from 表名

猜你喜欢

转载自blog.csdn.net/weixin_48419914/article/details/121673373