From Xojo Documentation
Attaches the SQLite database referred to by file to the database. It gives the newly attached database the name databaseName. If the database is encrypted, be sure to specify the encryptionKey.
You can attach one or more databases to a currently connected iOSSQLiteDatabase so that you can work with all the databases at one time. This can be a useful way to copy data between databases, for example.
If tables in the attached database have the same name as tables in the primary database, you can refer to them using databaseName as the prefix.