SQL Language Guide
:
8. SQL Statements
:
INCLUDE
: INCLUDE Examples
Share this page
INCLUDE Examples
1.
Include the SQLCA in the program.
EXEC SQL INCLUDE SQLCA;
2.
Include global variables.
EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL INCLUDE 'global.var';
EXEC SQL END DECLARE SECTION;