Teradata Database Message 5568 - 5568 - Analytics Database - Teradata Vantage

Teradata® VantageCloud Lake - Analytics Database Messages

Edition
Lake
Product
Analytics Database
Teradata Vantage
Published
October 2022
Language
English (United States)
Last Update
2024-02-26
dita:mapPath
tzr1629746512312.ditamap
dita:ditavalPath
ft:empty
dita:id
vza1585613049811
lifecycle
latest
Product Category
Teradata® Vantage™
Message
SQL statement is not supported within a stored procedure.
Explanation
This error occurs when in one of the following situations: a. An unsupported SQL statement is specified in a stored procedure using the dynamic SQL feature of stored procedures. For instance, DATABASE statement, SET SQL statements, multi statement requests, CREATE USER/DATABASE statement without FROM clause, SELECT - INTO SQL or CALL SQL. This is a run-time error. b. An unsupported SQL statement is specified in a stored procedure. For instance, DATABASE statement, SET SQL statements, INSERT EXPLAIN or a CREATE USER/DATABASE statement without FROM clause. This is a compile-time error. ** ** Comment modified from DDL to SQL with an example for the ** same (INSERT EXPLAIN) **
Generated By
RES Modules.
For Whom
End user.
Notes
None
Remedy
Correct the SQL statement and, recreate the stored procedure if necessary.