Oracle Error PLS-00539: subprogram ‘string’ is declared in an object type body and must be defined in the object type specification

Oracle Error Message

PLS-00539: subprogram ‘string’ is declared in an object type body and must be defined in the object type specification

Reason for the Error

The specified subprogram is declared in an object type’s body, but is not defined in the object type’s specification. Notice cursor bodies can exist without a specification.

Solution

Define the subprogram in the object type’s specification, or remove the declaration from the body.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message ORA-24328: illegal attribute value Reason for the Error The attribute value passed in is illegal. Solution Consult...
Oracle Error Message ORA-01346: LogMiner processed redo beyond specified reset log scn Reason for the Error LogMiner has detected a...
Oracle Error Message ORA-13241: specified dimensionality does not match that of the data Reason for the Error An error occurred...