Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Running the SQL preprocessor [Table of Contents] Import libraries

[-] Chapter 2: The Embedded SQL Interface
[-] Application development using Embedded SQL
[-] Embedded SQL header files


Embedded SQL header files

All header files are installed in the .h subdirectory of your Adaptive Server 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.


Running the SQL preprocessor [Table of Contents] Import libraries