END DECLARE SECTION

From InterBase
Jump to: navigation, search

Go Up to Statement and Function Reference (Language Reference Guide)


Identifies the end of a host-language variable declaration section. Available in gpre.

END DECLARE SECTION;

Description: END DECLARE SECTION is used in embedded SQL applications to identify the end of host-language variable declarations for variables used in subsequent SQL statements.

Example: The following embedded SQL statements declare a section, and single host-language variable:

EXEC SQL
BEGIN DECLARE SECTION;
BASED_ON EMPLOYEE.SALARY salary;
EXEC SQL
END DECLARE SECTION;

See Also

Advance To: