How to get the name of an Attached Database in SQLite?
I tried to watch:
SELECT name FROM sqlite_master
but there is no information about attached databases.
I attach the databases using the command:
ATTACH DATABASE <fileName> AS <DBName>
It would be nice to get a list of attached FileNames or DBNames names.
I am trying to check if the database is bound correctly without knowing its schemas in advance.
source share