How do I get the name of the Attached databases in SQLite?
I've tried looking into:
SELECT name FROM sqlite_master
But there doesn't seem to be any information there about the attached databases.
I attach the databases with the command:
ATTACH DATABASE <fileName> AS <DBName>
It would be nice to be able to retrieve a list of the FileNames or DBNames attached.
I'm trying to verify if a database was correctly attached without knowing its schema beforehand.
.database
,.open xyz
etc. proprietary to the command line interface from SQLite Tools? – Fess