cnblogs/dcrenl/Sqlite清空表数据.html

2 lines
198 B
HTML
Raw Permalink Normal View History

2024-09-24 12:43:01 +08:00
<pre>delete from TableName; //清空数据
update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0<br /><br />转自https://www.cnblogs.com/huangtailang/p/3246336.html</pre>