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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere embedded SQL » Introduction to embedded SQL


Embedded SQL header files

All header files are installed in the SDK\Include subdirectory of your SQL Anywhere installation directory.

File name Description
sqlca.h Main header file included in all embedded SQL programs. This file includes the structure definition for the SQL Communication Area (SQLCA) and prototypes for all embedded SQL database interface functions.
sqlda.h SQL Descriptor Area structure definition included in embedded SQL programs that use dynamic SQL.
sqldef.h Definition of embedded SQL interface data types. This file also contains structure definitions and return codes needed for starting the database server from a C program.
sqlerr.h Definitions for error codes returned in the sqlcode field of the SQLCA.
sqlstate.h Definitions for ANSI/ISO SQL standard error states returned in the sqlstate field of the SQLCA.
pshpk1.h, pshpk4.h, poppk.h These headers ensure that structure packing is handled correctly.