Previous Topic

ESQL Preprocessor Flags

To specify ANSI-compliant behavior when creating embedded SQL programs, use the following flags when invoking the Ingres embedded SQL preprocessor. For details about the preprocessor, see the Embedded SQL Companion Guide.

Previous Topic

-wsql ESQL Preprocessor Flag

The -wsql ESQL preprocessor flag directs the preprocessor to issue warnings when it detects SQL statements that do not comply with ANSI/ISO Entry SQL-92.wsql flag ANSI/ISO standard:handling non-compliant SQL statements flags, ESQL preprocessor:wsql

Previous Topic

-blank_pad ESQL Preprocessor Flag

The -blank_pad ESQL preprocessor flag specifies how values are padded with blanks when selecting values from character columns into host string variables. This flag has no effect in host languages that do not support variable-length character data (for example, Fortran).

Previous Topic

-sqlcode

The -sqlcode ESQL preprocessor flag incorporates the declaration required for the ANSI standard SQLCODE status variable. For details about SQLCODE, see SQLCODE and SQLSTATE in the chapter "Working with Transactions and Error Handling" and the ANSI standard. SQLCODE is a depreciated ANSI feature -SQLSTATE is the recommended status variable. For details, see the Embedded SQL Companion Guide.

Previous Topic

-check_eos (C only)

The -check_eos ESQL preprocessor flag directs the ESQL preprocessor to include code that ensures that all char strings inserted into a database are terminated with a null character (\0). By default, no checking is performed. Checking is performed only for char strings declared as arrays, and is not performed for strings declared as string pointers.


© 2007 Ingres Corporation. All rights reserved.