Quick Search:
 
 Oracle Database Error: ORA-06546      [Return To Oracle Error Index] Jump to:  
Oracle Error: ORA-06546

Error Description:
DDL statement is executed in an illegal context

Error 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.


There haven't been any comments added for this error yet. You may add one if you like.  Add a comment 
 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2025 psoug.org