开发者

How to operate two SQLite databases in Android

I have two SQLite databases, and I want to do some operation to t开发者_JAVA百科hem (such as INNER JOIN). How can I do that?

Thanks, Vincent


If you have 2 separate databases there are 2 main ways of tackling that:

1) Insert all (copy) the data into a single database, then query that.
2) Load all data into memory and manipulate it there.

Unless I'm missing it, there does not seem to be a "Linked Server" function (like in SQL Server) which would allow you to query them in a distributed manner.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜