Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Programming » ODBC support

 

ODBC samples

Several ODBC samples are included with SQL Anywhere. You can find the samples in the samples-dir\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 samples-dir\SQLAnywhere\C\odbc.c. This program performs the same actions as the embedded SQL dynamic cursor example program that is in the same directory.

For a description of the associated embedded SQL program, see Sample embedded SQL programs.


Building the sample ODBC program
Running the sample ODBC program