Contents Index Supported compilers Import libraries

ASA Programming Guide
  Embedded SQL Programming
    Introduction

Embedded SQL header files


All header files are installed in the h subdirectory of your SQL Anywhere installation directory.

Filename 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, pshpk2.h, poppk.h These headers ensure that structure packing is handled correctly. They support Watcom C/C++, Microsoft Visual C++, IBM Visual Age, and Borland C/C++ compilers.

Contents Index Supported compilers Import libraries