Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Development process overview [Table of Contents] Embedded SQL header files

[-] Chapter 2: The Embedded SQL Interface
[-] Application development using Embedded SQL
[-] Running the SQL preprocessor


Running the SQL preprocessor

The SQL preprocessor is an executable named sqlpp.exe.


Command line

The SQLPP command line is as follows:

   SQLPP   [   switches   ]   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 filename is the sql-filename with an extension of .c. If the sql-filename already has a .c extension, then the output filename extension is .cc by default.

For a full listing of the command-line switches, see The SQL preprocessor .


Development process overview [Table of Contents] Embedded SQL header files