The examples show below show how use OTL with generic ODBC data
sources.
There are examples with Oracle ODBC drivers, with MS SQL Server ODBC
drivers, etc. By default, OTL/ODBC requires ODBC drivers to be
compliant with the ODBC 3.5 specification. In order to make OTL/ODBC
work with ODBC 2.5 drivers, the normal #define ODBCVER 0x0250 should be
defined either by one of the header files of the C++ compiler to be
used, or in the cutsom code itself, before includnig the OTL header
file (for more detail on ODBC 2.5, see
example
147).