02-13-2018, 06:53 PM
(This post was last modified: 02-14-2018, 08:57 PM by susitronix.)
Is it possible to MERGE TWO DB-FILES into ONE COMPLETE FILE?
Is ther eny tools for it?
Is ther eny tools for it?
Database file MERGE ? [SOLVED]
|
02-13-2018, 06:53 PM
(This post was last modified: 02-14-2018, 08:57 PM by susitronix.)
Is it possible to MERGE TWO DB-FILES into ONE COMPLETE FILE?
Is ther eny tools for it?
02-13-2018, 10:05 PM
Google is your friend
Try nodejs sqlite merge
02-14-2018, 12:08 AM
(This post was last modified: 02-14-2018, 12:09 AM by susitronix.)
DuckDuck could only find this:
Martin Pelletier, Software developer Updated Aug 4 2014 · Author has 53 answers and 67.2k answer views Connect to database A Attach database B (ATTACH "c:\database_b\places.sqlite" AS SecondaryDB) Transfer data from B to A (INSERT INTO MyTable SELECT * FROM SecondaryDB.MyTable) - Works assuming there is no primary key conflict. If there are, you might have to cheat and offset the B table's primary key by a large number, or tweak your query to use the auto increment of database A's table) Disconnect from database A (no need to DETACH from database B if you're exiting at this point). öch thats not too noobish to mess around with. Since my new Kraken Account i found a db for every Exchange. Did i missed somthing? could i rename one of the two Binance db`s and drop them into the same /history? Did not thought about this when starting with Gekko
02-14-2018, 01:36 AM
Try also searching for stuff such as
sqlite diff merge tool
02-14-2018, 07:12 PM
Hey thanks
Found phpLite and sqliteStudio. try it soon
02-14-2018, 09:02 PM
sqliteStudio is super neat.
Thats a good tool to have.
02-14-2018, 09:42 PM
So you worked it out? Great! (especially since you solved it yourself = new skill acquired)
Feel free to write a guide about it under the forum 'Guides'.
02-14-2018, 11:07 PM
(This post was last modified: 02-14-2018, 11:08 PM by susitronix.)
With a little hint..!
Good idea!
02-15-2018, 12:24 AM
Find the tutorial here:
https://forum.gekko.wizb.it/thread-1494.html |