2. Embedded SQL for C
 
Share this page                  
Embedded SQL for C
Embedded SQL Statement Syntax for C
This section describes the language specific issues inherent in embedding SQL database and forms statements in a C or C++ program. An embedded SQL database statement has the following general syntax:
[margin] exec sql SQL_statement terminator
The syntax of an embedded SQL/FORMS statement is almost identical:
[margin] exec frs SQL/FORMS_statement terminator
For information on SQL statements, see the SQL Reference Guide. For information on SQL/FORMS statements, see the Forms based Application Development Tools User Guide.
The following sections describe the various syntactical elements of these statements as implemented in C.