"Mike Johnston" <[EMAIL PROTECTED]>
wrote in message news:[EMAIL PROTECTED]
> Given a sqlite3 * database handle, is there a way to retrieve the
> filename used to open the database?

Run this statement on your handle:

PRAGMA database_list;

Note that there may be more than one file associated with the handle 
(see ATTACH statement).

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to