|
<< Click to Display Table of Contents >> ODBC Socket configuration entries |
![]() ![]()
|
This example shows a Drivers section from the BDE section of the Registry. This section was added manually with the BDE Administrator.
ODBC_ORA7:
INIT:
VERSION:4.0
TYPE:SERVER
DLL:IDODBC01.DLL
DLL32: IDODBC32.DLL
ODBC DRIVER:VENDOR Oracle7
DRIVER FLAGS:NULL
DB OPEN:
USER NAME:guest
ODBC DSN:My Oracle7
OPEN MODE:READ/WRITE
SCHEMA CACHE SIZE:8
SQLQRYMODE:NULL
LANGDRIVER:NULL
SQLPASSTHRU MODE:NULL
Note that the DLL field for the driver is the ODBC socket .dll, NOT the ODBC .dll. The ODBC .dll is loaded implicitly, when the ODBC socket attempts to connect to a data source. The data source that it tries to open is "My Oracle7" (the DSN entry).
The following example shows a Database Alias section from the BDE configuration file (IDAPI.CFG). This section was added manually with the BDE Administrator (BDEADMIN.EXE).
ODBC_ORACLE:
DB INFO:
TYPE:ODBC_ORA7
PATH:NULL
DB OPEN:
USER NAME:guest
ODBC DSN:My Oracle7
OPEN MODE:READ/WRITE
SCHEMA CACHE SIZE:8
SQLQRYMODE:NULL
LANGDRIVER:NULL
SQLPASSTHRU MODE:SHARED AUTOCOMMIT