16.20 - PREPARE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

An SQL_statement_name is to be set up to be executed dynamically.

The PREPARE statement is valid only for result set cursors.

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

SQL_string
The SQL text that is to be executed dynamically.
SQL_string must be delimited by APOSTROPHE characters.
SQL_string_variable
Name of an SQL local variable that contains the SQL text string that is to be executed dynamically.