A simple ODBC program that connects to the SQL Anywhere sample database and immediately disconnects can be found in %SQLANYSAMP12%\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.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |