15.00 - 5568 SQL statement is not supported within a stored procedure. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1096-015K
Language
English (United States)

5568 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) ** DR81152-GM210039-01

Generated By:

RES Modules.

For Whom:

End user.

Remedy:

Correct the SQL statement and, recreate the stored procedure if necessary.