2. Using Ingres Commands : esqlcc Command—Invoke Embedded SQL Preprocessor for C++
 
Share this page                  
esqlcc Command—Invoke Embedded SQL Preprocessor for C++
The esqlcc command invokes the Ingres embedded SQL (ESQL) preprocessor for C++.
The esqlcc command has the following format:
esqlcc [flags] [filename]
flags
Specify options to the preprocessor.
These flags are common to most host language preprocessors, and are described under the esqlc command (see page esqlc Command—Invoke Embedded SQL Preprocessor for C).
The following flags are unique to the preprocessor for C++:
-extention=ext
Specifies the extension for the C++ file created by the precompiler.
-prototypes
Directs the preprocessor to include a header file containing ANSI style function prototypes for the Ingres run time routines. The default is ‑noprototypes (the prototypes in the header file are not ANSI style).
filename
Specifies the name of the file that contains the embedded SQL statements.
For a complete description of the SQL preprocessor requirements for C++, see the Embedded SQL Companion Guide.