The SQL preprocessor is an executable named sqlpp.
The SQLPP command line is as follows:
sqlpp [ options ] sql-filename [ output-filename ]
The SQL preprocessor processes a C program with embedded SQL before the C or C++ compiler is run. The preprocessor translates the SQL statements into C/C++ language source that is put into the output file. 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 already has a .c extension, then the output file name extension is .cc by default.
When an application is rebuilt to use a new major version of the database interface library, the embedded SQL files must be preprocessed with the same version's SQL preprocessor.
For a full listing of the command line options, see SQL preprocessor.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |