17.00 - open_statement - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

You can specify these options for open statements.

cursor_name
Name of the cursor to be opened.
USING
Variables used as input to the SQL statement by cursor_name.
The USING clause is valid only for result set cursors.
See Teradata Vantage™ - SQL Stored Procedures and Embedded SQL , B035-1148 for details.
SQL_identifier
parameter_reference
Set of variables to be supplied as input to the prepared SQL request.
The maximum length of a database object name is either 30 LATIN characters or 128 Unicode characters. For details about object name length limits, see Teradata Vantage™ - SQL Fundamentals, B035-1141.
SQL_identifier or parameter_reference must be a valid SQL variable and must be declared prior to the OPEN statement.