How to fix the Oracle error PLS-00540: object not supported in this context.?
In this post, you’ll learn more about the Oracle ErrorPLS-00540: object not supported in this context. with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00540: object not supported in this context.
Reason for the Error PLS-00540: object not supported in this context.
An object was declared inside a local scope (Function, Procedure, or anonymous block), or in a package scope which is not supported.
How to fix the Error PLS-00540: object not supported in this context. ?
You can fix this error in Oracle by following the below steps
Declare the type in a global or data base scope.
Leave Your Comment