6. Embedded SQL for BASIC
 
Share this page                  
Embedded SQL for BASIC
Embedded SQL Statement Syntax for BASIC
This section describes the language-specific issues inherent in embedding SQL database and forms statements in a BASIC 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 sections below describe the various syntactical elements of these statements as implemented in BASIC.