当前位置:首页 > 数据库 > SQlite

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

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 删除表数据并重置自动增长列

标签:

本文系统来源:http://www.cnblogs.com/wjshan0808/p/4644915.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!