4 ms·
You can also attach other sqlite databases which might make it easier. attach database 'old-database.sqlite3' as old; insert into dbtable ( id, name )
by boxidea 11y ago
You can also attach other sqlite databases which might make it easier.
attach database 'old-database.sqlite3' as old;
insert into dbtable ( id, name ) select id, name from old.dbtable;
Then you don't need to use Python to iterate through each row.