Oracle Error QSM-02138: agg(expr) requires correspondng agg(expr*expr) function

Oracle Error Message

QSM-02138: agg(expr) requires correspondng agg(expr*expr) function

Reason for the Error

The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of that same aggregate function on the square of the same argument.

Solution

Add an invocation of the same aggregate function on the square of the same argument (that is, the argument multiplied by itself).

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