Oracle Error PLS-00493: invalid reference to a server-side object or function in a local context

Oracle Error Message

PLS-00493: invalid reference to a server-side object or function in a local context

Reason for the Error

A reference to a server-side object (e.g. a table column) or function (a group function such as SUM, AVG, MIN, MAX, … ) was found in a context where only PL/SQL objects may be present (such as within the parameter list of a local function or as the index of a (local) PL/SQL table.)

Solution

Rewrite the offending statement; or (if a local function call is the problem context), make the function non-local (either packaged or top- level.)

Share:

Leave A Reply

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

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...