Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Embedded SQL » Introduction to embedded SQL

Development process overview Next Page

Running the SQL preprocessor

The SQL preprocessor is an executable named sqlpp.exe.

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.

For a full listing of the command line options, see SQL preprocessor.