Setting ODBC properties
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- API implementation
The following properties customize connectivity and optimize the query behavior of the ODBC driver.
ODBC administrator properties
These properties are specified in the ODBC Data Source Administrator for the DSN or in the
Custom Properties field of the login dialog box.
If you need to use more than one of these properties in your connection, concatenate the settings with a semicolon (;) delimiter. For example, the following string sets the URL to a specific instance and changes the batch size to 200 records.
url=https://demo1234.service-now.com;BatchSize=200
ODBC management console properties
You can access these properties from the ODBC Management Console available in the Windows Start menu at .
Service JVM options
You can specify these values within the ServiceJVMOptions parameter in addition to standard
JVM arguments such as -Xmx.
Option | Description | Default |
---|---|---|
-DLOG_FILE_NAME | The location of the ODBC log file. This property is available starting with the ODBC driver 1.0.7.1 release. | ${user.home}\AppData\Local\ServiceNow\odbc\logging\odbc.log |
-DLOG_LEVEL | The logging level used when writing to the ODBC log file. You can specify the logging level using Logback levels, such as TRACE, INFO, or ERROR. This property is available starting with the ODBC driver 1.0.8 release. | INFO |
Instance properties
An administrator can configure these properties by
adding a property or
modifying an existing one in the ServiceNow instance.
Property name | Description | Default |
---|---|---|
glide.db.max.aggregates | The maximum number of rows returned by aggregate functions. | 100000 |
glide.db.max_view_records | The maximum number of rows returned by a database view. | 10001 |