15.10 - PREPARE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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

The PREPARE statement is valid only for result set cursors.

See 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.