Contents Index sqlerror_message function ODBC Programming

ASA Programming Guide
  Embedded SQL Programming

Embedded SQL command summary


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 descriptions of the standard SQL commands, see SQL Statements.

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

For more information about these embedded SQL commands, see SQL Language Elements.

Standard data manipulation and data definition statements can be used from embedded SQL applications. In addition the following statements are specifically for embedded SQL programming:


Contents Index sqlerror_message function ODBC Programming