Sqlite清空表数据

delete from TableName;  //清空数据
update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0

 

posted @ 2015-04-23 20:01  小菜希  阅读(824)  评论(0编辑  收藏  举报