A simple ODBC program that connects to the SQL Anywhere sample database and immediately disconnects can be found in %SQLANYSAMP16%\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.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |