How to merge N SQLite database files into one if db has the primary field?

后端 未结 2 1785
广开言路
广开言路 2021-01-17 04:21

I have a bunch of SQLite db files, and I need to merge them into one big db files.

  • How can I do that?

Added

Based on this, I guess tho

2条回答
  •  余生分开走
    2021-01-17 05:04

    I'm not 100% sure, but it seems that I should read all the elements and insert the element (except the PRIMARY KEY) one by one into the new data base.

提交回复
热议问题