Several ODBC samples are included with SQL Anywhere. You can find the samples in the %SQLANYSAMP16%\SQLAnywhere subdirectories.
The samples in directories starting with the 4 letters ODBC illustrate separate and simple ODBC tasks, such as connecting to a database and executing statements. A complete sample ODBC program is supplied in the file %SQLANYSAMP16%\SQLAnywhere\C\odbc.c. This program performs the same actions as the embedded SQL dynamic cursor example program that is in the same directory.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|