Initialization String
- Last Updated: October 27, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Oracle Database Wire Protocol 8.0
- Documentation
Attribute
InitializationString (IS)
Purpose
A SQL command that is issued immediately after connecting to the database to manage session settings.
Valid Values
SQL_command
where:
- SQL_command
- is a valid SQL command that is supported by the database.
Example
To set the date format on every connection, specify:
Initialization String=ALTER SESSION SET DATE_FORMAT = 'DD/MM/YYYY'
Notes
- If the statement fails to execute, the connection fails and the driver reports the error returned from the server.
Default
None