Teradata Database Message 6951 - 6951 - Analytics Database - Teradata Vantage
Analytics Database Messages
- Deployment
- VantageCloud
- VantageCore
- Edition
- Enterprise
- IntelliFlex
- VMware
- Product
- Analytics Database
- Teradata Vantage
- Release Number
- 15.xx,16.xx,17.xx
- Published
- June 2022
- ft:locale
- en-US
- ft:lastEdition
- 2023-01-05
- dita:mapPath
- sfx1628096178347.ditamap
- dita:ditavalPath
- ft:empty
- dita:id
- B035-1096
- lifecycle
- latest
- Product Category
- Teradata Vantageā¢
- 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.