ODBC example

A simple ODBC program that connects to the SAP Sybase IQ sample database and immediately disconnects can be found in %IQDIRSAMP16%\SQLAnywhere\ODBCConnect\odbcconnect.cpp. This example shows the steps required in setting up the environment to make a connection to a database server, as well as the steps required in disconnecting from the server and freeing up resources.