ODBC Driver for Microsoft Excel Connection String Parameters - ODBC Driver for Microsoft Excel |
The following table lists the connection string parameters for Microsoft Excel.
Parameter | Description |
---|---|
|
The full path to the database to connect to. |
Advanced Settings |
|
|
To retrieve metadata, not all parameters according to MSDN can accept a null value. If |
|
|
|
Specifies what string data types the driver uses for literal columns. The default value is String .
|
|
Specifies the number of sample worksheet rows used to create a list of columns in the corresponding table. The default value is |
|
If set to |
|
Indicates whether the data in the very first worksheet row should be treated as column names. If set to |
|
Specifies whether the driver should hide the |
|
Indicates whether to inclued empty lines in the worksheet or skip them while reading data. This option is enabled by default. |
|
By default, Microsoft Excel is a single-user system. The connector implements a read-only multi-user mode to enable several users to read data from the workbook simultaneously. The possible values are |
|
Used to set the behavior corresponding to the ODBC specification version that a third-party tool expects. The behavior of ODBC driver can be changed by setting a value for the SQL_ATTR_ODBC_VERSION attribute by calling the SQLSetEnvAttr function. But some third-party tools expect the driver to exhibit ODBC 2.x behavior, but forget to call SQLSetEnvAttr with the specified version or pass an incorrect value there. In this case, the required behavior can be explicitly specified in the Connection String by setting the ODBC Behavior parameter. The possible values are:
|
|
Enables the use of local regional settings when converting numbers to strings. |
|
Enables the use of local regional settings when converting dates and times to strings. |
|
Sets the string value types returned by the driver as Default , Ansi or Unicode .
The parameter value should be changed if any third-party tool supports only |
DRIVER=Devart ODBC Driver for Microsoft Excel;Database=fullpathtoyourdatabase |