Hello everyone,
Does anyone know how i can merge a few .db files into one ?
Merging .db files
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Merging .db files
Hi,
Do you mean SQLite files? Probably, you need to write a script that reads all data from the two (or more) databases and stores it in one new database. After this, you need to rewrite all scripts that used the two separate files and make those scripts compatible with the new database.
You might do this from the sqlite3 command line:
Kind regards,
Mark
Do you mean SQLite files? Probably, you need to write a script that reads all data from the two (or more) databases and stores it in one new database. After this, you need to rewrite all scripts that used the two separate files and make those scripts compatible with the new database.
You might do this from the sqlite3 command line:
Code: Select all
.mode insert
.out file.sql
SELECT * FROM table_name
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode