📜  如何在 sqlite java 中重置自动增量 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:12.879000             🧑  作者: Mango

代码示例1
db.delete("SQLITE_SEQUENCE","NAME = ?",new String[]{TABLE_NAME});
/*
when deleting or adding rows with AUTOINCREMENT used to reset counter 
to biggest primary key in table Author Akhilesh Dhar Dubey
*/