SQLite数据库分区 [英] SQLite database partitioning
本文介绍了SQLite数据库分区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建sqlite分区结构,
我创建了3个数据库,
我将这3个数据库附加到另一个数据库,这将是父
I want to create sqlite partition structure, I created 3 databases, I attached those 3 databases to another database which will be parent with
ATTACH DATABASE '1.db' as 1
ATTACH DATABASE '2.db' as 2
ATTACH DATABASE '3.db' as 3
之后 .quit
即使我退出数据库,我如何保持它们附加?
感谢。
after i .quit
the parent database the database attachments detach, How can I keep them attached even if I quit the database?
Thanks.
推荐答案
附件永远不会永久。
如果你真的认为你需要分区,使用另一个数据库可能是一个更好的主意。
If you really think you need partitioning, using another database might be a better idea.
这篇关于SQLite数据库分区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文