当前位置:Gxlcms > 数据库问题 > SQLite Expert 删除表数据并重置自动增长列

SQLite Expert 删除表数据并重置自动增长列

时间:2021-07-01 10:21:17 帮助过:3人阅读

table t_Records

方法:
1.删除表数据

delete from t_Records where 1==1

2.重置自动增长列

update sqlite_sequence set seq=0 where name=t_Records 
/*name :是表名*/

 

SQLite Expert软件网址:  http://www.sqliteexpert.com/

SQLite Expert 删除表数据并重置自动增长列

标签:

人气教程排行