Sqlite清空表数据

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

 

    原文作者:sqlite
    原文地址: https://www.cnblogs.com/huangtailang/p/3246336.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞