4. Embedded SQL for Fortran
 
Share this page                  
Embedded SQL for Fortran
Embedded SQL Statement Syntax for Fortran
This section describes the language-specific issues inherent in embedding SQL database and forms statements in a Fortran program. An Embedded SQL database statement has the following general syntax:
[margin] exec sql SQL_statement
The syntax of an Embedded SQL/FORMS statement is almost identical:
[margin] exec frs SQL/FORMS_statement
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 Fortran.
The preprocessor generates tab format code. As a result, tab characters instead of single spaces delimit various syntactical elements, such as labels.