sql - Truncate a table while preserving the auto increment ID in SQLite -
I have a SQLite database with many different tables I have one of these tables Delete data table data AUTO_INCREMENT = {value from first query} Is there a small / better method? Unless you have created your table from AUTOINCREMENT to the primary key set, Starting with 1 Please read more about AUTOINCREMENT in SQLite from here:
Comments
Post a Comment