Page 1 of 1

ODBC Driver for SQLite: attach database

Posted: Mon 16 Jul 2018 12:53
by bairog
Hello.
Does ODBC Driver for SQLite support attach database in connection string?
Thank you in advance.

Re: ODBC Driver for SQLite: attach database

Posted: Tue 17 Jul 2018 12:03
by MaximG
Our driver doesn't support attach database in connection string. However, you can attach the database you are interested in (for example, C:\contract.db3 file), execute the following query:

Code: Select all

     ATTACH DATABASE 'C:\contract.db3' AS CONTRACTS
Detailed information about the command can be found at: https://www.sqlite.org/lang_attach.html