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