Oracle® Database 8i | 9i | 10g | 11g | 12c | 18c | 19c Error Codes

Information for Database Error Code ORA-06546: DDL statement is executed in an illegal context
Oracle® Database Error ORA-06546206/8

ORA-06546: DDL statement is executed in an illegal context

Cause: DDL statement is executed dynamically 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 USING and INTO clauses to execute the DDL statement.

Error Type: ORA

Oracle® Database Error Codes 8i | 9i | 10g | 11g | 12c | 18c | 19c

Record: 1/1

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners

Oracle: Registered trademark of Oracle