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

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

Cause: 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 or SQL objects may be present (such as within the parameter list of a local function or as the index of a (local) PL or SQL table.)

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

No comments:

Post a Comment