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

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

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...