How to fix the Oracle error PLS-00148: Only 1 pragma of this type is allowed per subprogram?

In this post, you’ll learn more about the Oracle ErrorPLS-00148: Only 1 pragma of this type is allowed per subprogram with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00148: Only 1 pragma of this type is allowed per subprogram

Reason for the Error PLS-00148: Only 1 pragma of this type is allowed per subprogram

The subprogram was found to have two PRAGMA RESTRICT_REFERENCES.

How to fix the Error PLS-00148: Only 1 pragma of this type is allowed per subprogram ?

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

Remove one of the PRAGMA RESTRICT_REFERENCES.

Tags :

Leave Your Comment