UltraLite User's Guide
Developing Embedded SQL Applications
The SQL preprocessor (sqlpp.exe) carries out two functions in an UltraLite development project:
It preprocesses the embedded SQL files, producing C files to be compiled into your application.
It adds the SQL statements to the reference database, for use by the UltraLite generator. You must use the -c
switch to specify connection parameters that give sqlpp access to the reference database.
For information on adding SQL statements to a reference database, see Adding SQL statements to an UltraLite project.
Caution sqlpp overwrites the output file without regard to its contents. Ensure that the output file name does not match the name of any of your source files. By default, sqlpp constructs the output file name by changing the suffix of your source file to .c. When in doubt, specify the output file name explicitly, following the name of the source file. |
Preprocessing projects with a single embedded SQL source file
Preprocessing projects with more than one embedded SQL file