Answers for "how to reset autoincrement in sqlite java"

SQL
-1

how to reset autoincrement in sqlite java

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
*/
Posted by: Guest on May-30-2020

Code answers related to "how to reset autoincrement in sqlite java"

Code answers related to "SQL"

Browse Popular Code Answers by Language