Database file MERGE ? [SOLVED]
#1
Is it possible to MERGE TWO DB-FILES into ONE COMPLETE FILE?

Is ther eny tools for it?
  Reply
#2
Google is your friend Smile

Try
nodejs sqlite merge
  Reply
#3
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
  Reply
#4
Try also searching for stuff such as
sqlite diff merge tool
  Reply
#5
Hey thanks
Found phpLite and sqliteStudio. try it soon
  Reply
#6
sqliteStudio is super neat.
Thats a good tool to have.
  Reply
#7
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'. Smile
  Reply
#8
With a little hint..!
Good idea!
  Reply
#9
Find the tutorial here:
https://forum.gekko.wizb.it/thread-1494.html
  Reply


Forum Jump:


Users browsing this thread: