Using ODBC

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