How to fix the Oracle error ORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit?

In this post, you’ll learn more about the Oracle ErrorORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit

Reason for the Error ORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit

The input supplied to DBMS_DDL.WRAP or DBMS_DDL.CREATE_WRAPPED did not specify a legal PL/SQL package specification, package body, type specification, type body, function or procedure. This error can occur if you used incorrect syntax in the CREATE OR REPLACE statement or specified a unit that cannot be wrapped (e.g., a trigger or anonymous block).

How to fix the Error ORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit ?

You can fix this error in Oracle by following the below steps

Provide a legal PL/SQL unit as input.

Tags :

Leave Your Comment