5. Embedded SQL for Ada : Preprocessor Operation : Include File Processing
 
Share this page                  
Include File Processing
The Embedded SQL include statement provides a means to include external packages and source files in your program's source code. Its syntax is:
exec sql include filename;
where filename is a quoted string constant specifying a file name or a logical name that points to the file name. If you do not specify an extension to the file name (or to the file name pointed at by the logical name), the default Ada input file extension ".sa" is assumed.
This statement is used to include variable declarations or package specifications. For more details on the include statement, see the SQL Reference Guide.