On Mon, Jul 22, 2013 at 10:47 AM, Marc L. Allen <mlal...@outsitenetworks.com
> wrote:

> Perhaps I misunderstood the question.  It sounds like he has the sqlite*
> objects for the databases, but wants to be able to determine the
> database/filename associated with them so he can construct an ATTACH
> statement in another query.
>
> So.. the question is.. given an sqlite*, can you determine the underlying
> database/filename?
>

The answer to Marc's question is "yes":
http://www.sqlite.org/c3ref/db_filename.html

But I think (I might be wrong) that Erik is asking something different.  In
particular, Erik indicated that the database is in an inaccessible
namespace (is that like a chroot jail or something?) and is thus
inaccessible.
-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to