Purpose
Declares the names used to identify prepared dynamic SQL statements.
Invocation
Nonexecutable preprocessor declaration.
Embedded SQL only.
Syntax
DECLARE statement_name [,...] STATEMENT
- statement_name
- The name associated with a previously prepared statement.
ANSI Compliance
DECLARE STATEMENT is a Teradata extension to the ANSI/ISO SQL:2011 standard.
Authorization
None.
Usage
DECLARE STATEMENT is used for program documentation only.