15.10 - DECLARE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)
Last Update
2018-06-05

Keyword introducing a local variable declaration, cursor declaration, or condition handler declaration statement.

DECLARE is followed by a list of local variables, a cursor specification, or a list of handler declarations.

You can specify multiple local variable declarations, cursor declarations, or condition handler declarations for each procedure.

See SQL Stored Procedures and Embedded SQL, B035-1148 for details.