Embedded SQL



next up previous contents
Next: Dynamic SQL Up: Using SQL Previous: Module Language

Embedded SQL

SQL statements may also be embedded within programming language text. SQL statements and associated variable declarations in the host language text are enclosed within ``EXEC SQL'' and ``;.'' These embedded SQL statements and associated declarations are preprocessed into suitable programming language syntax often consisting of procedure calls. The preprocessed source text then becomes input to the programming language compiler or interpreter.

  
Figure 8.1: SQL on a standalone system.



John Barkley
Fri Oct 7 16:17:21 EDT 1994