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_variable
- Name of an SQL local variable that contains the SQL text string that is to be executed dynamically.