cnblogs/dcrenl/Sqlite清空表数据.html
2024-09-24 12:43:01 +08:00

2 lines
198 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>