Teradata Database Message 6951 - 17.10 - 6951 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
DDL is not supported in multi-statement request within a stored procedure.
Explanation
This error occurs in the following situation: a. Any DDL statement is specified in a stored procedure using the multi-statement request and dynamic SQL feature of stored procedures. For instance, DATABASE statement, SET SQL statements, multi statement requests, CREATE USER/DATABASE statement without FROM clause. This is a run-time error.
Generated By
RES Modules.
For Whom
End user.
Notes
None
Remedy
Do not use the DDL in multi-statement request. Recreate the stored procedure if necessary.