Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

PLS-00540

object not supported in this context.

Cause

An object was declared inside a local scope (Function, Procedure, or anonymous block), or in a package scope which is not supported.


Action

Declare the type in a global or data base scope.