ESQL Standard C Data Type Definitions

The proesql.h header file in your ESQL installation directory contains several data type definitions to support ANSI standard data transfers between SQL tables and your ESQL application:

typedef char sqldate[13];
typedef char sqlbool;
typedef char sqldec[53]; 

Because they are essentially character string data types, the sqldate and sqldec type definitions reserve an extra byte for a null terminator. These type definitions are useful for providing compatibility between certain SQL and C data types, as shown in the following sections.

You can also use many standard C data types as described in this appendix. However, the int data type is non-standard for ESQL. If you use this data type to declare host language variables, the preprocessor produces a warning. For more information on using the standard C data types to define host language variables, see Programming with ESQL."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095