The interface between the MaxDB database system and its application programs is the database language SQL (Structured Query Language). SQL statements embedded in the application program (Embedded SQL) are used for communication with the database instance. Parameter values are exchanged in special program variables, called host variables.
The C/C++ Precompiler prepares C/C++ source code with embedded SQL statements for translation into an executable application program. The compiler checks the syntax and semantics of the embedded statements, converts them to procedure calls in the precompiler runtime environment, and generates a C/C++ file, which can then be compiled.
This user manual describes how to embed SQL statements for the MaxDB database system in the programming language C/C++, and how to work with the precompiler.
This manual requires a sound working knowledge of the meaning of elementary SQL statements. For a description of the syntax and semantics of database statements, and the conventions for syntax notation, see the Reference Manual.
For general information about the MaxDB database system, see the Database Administration documentation.