ODBC Driver for SQLite

Connection Options

SQLite Connection Options

The following table describes the options that you can include in the connection string for SQLite:

Option Description

ClientLibrary

Used to set the path to the SQLite3 client library. E.g., C:\Windows\System32\sqlite3.dll

Database

Used to specify the name of the database to be used once a connection is open.

Direct

Used to connect to the database directly without using SQLite3 client library.

EncryptionAlgorithm

Specifies the encryption algorithm that will be used to connect to an encrypted database. The attribute value has to be one of the following according to supported encryption algorithms: TripleDES, Blowfish, AES128, AES192, AES256, Cast128, RC4.

EncryptionKey

Specifies the encryption key that will be used to encrypt a previously connected unencrypted database.

ForceCreateDatabase

Used to force connection to create a new database before opening a connection, if the database does not exist.

Advanced Settings

Option Description

Empty strings as NULL

To retrieve metadata, not all parameters according to MSDN can accept a null value. If NULL, the driver should return an error. But some 3rd-party tools pass NULL to the parameters. These options should be enabled for compatibility with such tools.

Allow NULL strings

RegionalNumberSettings

Enables using local regional settings when converting numbers to string.

RegionalDateTimeSettings

Enables using local regional settings when converting dates and times to string.

Example Connection String

Login Prompt=False;Database=c:\test.db3
© 2015-2017 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback