sqllite单表数据清空 最近使用到了sqlite, 忽然发现跟mysql比较了下,发现没有truncate table这个命令,只能用这种方式了 delete from table_name; update sqlite_sequence SET seq = 0 where name ='table_name'; commit;