Several ODBC samples are included with SQL Anywhere. You can find the samples in the %SQLANYSAMP12%\SQLAnywhere subdirectories.
The samples in directories starting with ODBC illustrate separate and simple ODBC tasks, such as connecting to a database and executing statements. A complete sample ODBC program is supplied in %SQLANYSAMP12%\SQLAnywhere\C\odbc.c. This program performs the same actions as the embedded SQL dynamic cursor example program that is in the same directory.
Building the sample ODBC program
Running the sample ODBC program
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |