sqlite reset autoincrement
delete from your_table;
delete from sqlite_sequence where name='your_table';
sqlite reset autoincrement
delete from your_table;
delete from sqlite_sequence where name='your_table';
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
*/
sqlite reset autoincrement
UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'table_name';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us