PREPARE - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

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.