Unified ODBC Configuration Options
Unified ODBC Configuration OptionsNameDefaultChangeableChangelogodbc.allow_persistent"1"INI_SYSTEModbc.check_persistent"1"INI_SYSTEModbc.max_persistent"-1"INI_SYSTEModbc.max_links"-1"INI_SYSTEModbc.defaultlrl"4096"INI_ALLodbc.defaultbinmode"1"INI_ALLodbc.default_cursortype"3"INI_ALL Constants
Runtime Runtime
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| odbc.allow_persistent | "1" | INI_SYSTEM | |
| odbc.check_persistent | "1" | INI_SYSTEM | |
| odbc.max_persistent | "-1" | INI_SYSTEM | |
| odbc.max_links | "-1" | INI_SYSTEM | |
| odbc.defaultlrl | "4096" | INI_ALL | |
| odbc.defaultbinmode | "1" | INI_ALL | |
| odbc.default_cursortype | "3" | INI_ALL |
Constants
Title
odbc.default_dbstringODBC data source to use if none is specified in
odbc_connect()orodbc_pconnect().odbc.default_userstringUser name to use if none is specified in
odbc_connect()orodbc_pconnect().odbc.default_pwstringPassword to use if none is specified in
odbc_connect()orodbc_pconnect().odbc.allow_persistentboolWhether to allow persistent ODBC connections.
odbc.check_persistentboolCheck that a connection is still valid before reuse.
odbc.max_persistentintThe maximum number of persistent ODBC connections per process.
odbc.max_linksintThe maximum number of ODBC connections per process, including persistent connections.
odbc.defaultlrlintHandling of LONG fields. Specifies the number of bytes returned to variables. See
odbc_longreadlen()for details.Shorthandbytes
odbc.defaultbinmodeintHandling of binary data. See
odbc_binmode()for details.odbc.default_cursortypeintControls the ODBC cursor model. Possible values are
SQL_CURSOR_FORWARD_ONLY,SQL_CURSOR_KEYSET_DRIVEN,SQL_CURSOR_DYNAMICandSQL_CURSOR_STATIC(default).