REALSQLdatabase.AttachDatabase Function

Attaches the REAL SQL Database referred to by file to the database. It gives the newly attached database the name databaseName.

Syntax
result = REALSQLdatabase.AttachDatabase( file, databaseName )

Parameters
file | FolderItem
databaseName | String

Return Value
Result | Boolean

# Notes

When a database has been attached, it is possible to do cross-database queries.