How to fix the Oracle error PLS-01918: 9.2 and earlier wrap formats are not permitted?

In this post, you’ll learn more about the Oracle ErrorPLS-01918: 9.2 and earlier wrap formats are not permitted with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-01918: 9.2 and earlier wrap formats are not permitted

Reason for the Error PLS-01918: 9.2 and earlier wrap formats are not permitted

An attempt was made to compile a unit that was wrapped using 9.2 or earlier version of the wrap utility. Wrapped source created by 9.2 and earlier versions of wrap is not permitted on this database.

How to fix the Error PLS-01918: 9.2 and earlier wrap formats are not permitted ?

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

Wrap the source using 10g or later versions of the wrap utility. Alternately, set the initialization parameter PERMIT_92_WRAP_FORMAT parameter to TRUE.