joins across multiple sqlite db files

前端 未结 2 2007
太阳男子
太阳男子 2021-01-07 08:40

hey guys android has some serious limitations with file system space on certain devices and my app starts giving me errors once my sqlite db file size grows beyond 5mb and i

相关标签:
2条回答
  • 2021-01-07 09:16

    Different databases means that they are different "things". You could query one db, them query the other db and join the two results in code (even if that includes join X on Y). But AFAIK, it's impossible to do that using sql only.

    0 讨论(0)
  • 2021-01-07 09:24

    Use ATTACH DATABASE to query more than one database in your SQL: http://www.sqlite.org/lang_attach.html

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