Merging databases

后端 未结 1 1120
野的像风
野的像风 2021-01-15 17:52

At the moment I have apprx. 20 identical structured databases(SQLite) which I transferred from remote destinations (android phones) to my pc. Now I want to add them to a sin

相关标签:
1条回答
  • 2021-01-15 18:41

    The way you worded the question, it sounds to me like it is a one-time operation you're doing on a home PC. I would probably just open a fresh database in the sqlite shell and attach/insert from/detach each database like they show on that link.

    If you need to script this, this link has an example of embedding sqlite into shell scripts and this one shows some sql in a dos batch file. More preferably, you could code it up with your favorite language's sqlite bindings, like Python's.

    0 讨论(0)
提交回复
热议问题