Collection Contents Index Library functions Database examples pdf/chap2.pdf

Programming Interfaces Guide
   CHAPTER 2. The Embedded SQL Interface     

Embedded SQL commands


EXEC SQL
    ALL Embedded SQL statements must be preceded with EXEC SQL and end with a semicolon.

There are two groups of Embedded SQL commands:

Standard SQL commands are used by simply placing them in a C program enclosed with EXEC SQL and a semi-colon. CONNECT, DELETE, SELECT, SET and UPDATE have additional formats only available in Embedded SQL. The additional formats fall into the second category of Embedded SQL specific commands.

For Info     All commands are described in detail in SQL Statements.

Several SQL commands are specific to Embedded SQL and can only be used in a C program.

For Info     These Embedded SQL commands are also described in SQL Language Elements.

For Info    The Embedded SQL commands include the following:


Collection Contents Index Library functions Database examples pdf/chap2.pdf