Perhaps you can create new connection with multiple virtual tables reading from all connections. But it is hard work...
2013/7/22 Nelson, Erik - 2 <erik.l.nel...@bankofamerica.com> > I've got an application that allows the user to create an arbitrary number > of databases, either in memory or not. In my C++ program, I have the > handles and I'd like to attach them all together so the user can execute > queries against them. However, the only way that I've found to do that is > to use the "ATTACH" sql. The problem is that the sqlite3* exist, but the > databases aren't in any namespace accessible to the "ATTACH" query. > > Is there some way to programmatically attach databases when all you have > are the sqlite3 handles? > > I've read the list history, most of the conversations about this are a few > years back. > > Thanks > > Erik > > ---------------------------------------------------------------------- > This message, and any attachments, is for the intended recipient(s) only, > may contain information that is privileged, confidential and/or proprietary > and subject to important terms and conditions available at > http://www.bankofamerica.com/emaildisclaimer. If you are not the > intended recipient, please delete this message. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users