Sqlite清空表数据

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

 

posted @ 2013-08-08 17:46  HTL  阅读(57405)  评论(3编辑  收藏  举报
htl