The Sybase IQ SQL preprocessor utility iqsqlpp translates the SQL statements in an input file (.sqc) into C language source that is put into an output file (.c).
Embedded SQL is a database programming interface for the C and C++ programming languages. Embedded SQL consists of SQL statements intermixed with (embedded in) C or C++ source code. These SQL statements are translated by an SQL preprocessor into C or C++ source code, which you then compile.
This table lists the options available for the iqsqlpp utility.
The SQL preprocessor processes a C or C++ program containing Embedded SQL before the compiler is run. iqsqlpp translates the SQL statements in the input file sql-filename into C language source that is put into the output-filename. The normal extension for source programs with Embedded SQL is .sqc. The default output file name is the sql-filename with an extension of .c. If the sql-filename has a .c extension, the default output file name extension is .CC.
The allowed values of <flag> and their meanings are as follows:
The allowed values of <flag> and their meanings are as follows:
The collation sequence helps the preprocessor understand the characters used in the source code of the program, for example, in identifying alphabetic characters suitable for use in identifiers. If you do not specify -z, the preprocessor attempts to determine a reasonable collation to use, based on the operating system and the IQLANG and IQCHARSET environment variables.