重庆思庄Oracle、Redhat认证学习论坛

标题: ORA-06546: DDL statement is executed in an illegal context [打印本页]

作者: admin    时间: 2016-7-26 17:07
标题: ORA-06546: DDL statement is executed in an illegal context
ORA-06546:DDL statement is executed in an illegal context
Cause:
DDL statement is executeddynamically in illegal PL/SQL context.
- Dynamic OPEN cursor for a DDL in PL/SQL
- Bind variable's used in USING clause to EXECUTE IMMEDIATE a DDL
- Define variable's used in INTO clause to EXECUTE IMMEDIATE a DDL
Action: Use EXECUTE IMMEDIATE without USINGand INTO clauses to execute
the DDL statement






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2