Using ODBC
To use ODBC
Call
SQLAllocEnv
to initialize ODBC and allocate an environment handle.
Use connections. For more information, see
Using Connections
.
Call
SQLFreeEnv
to free the environment handle.