Oracle Error ORA-36166: (XSMXAGGR08) workspace object is not a VARIABLE.

Oracle Error Message

ORA-36166: (XSMXAGGR08) workspace object is not a VARIABLE.

Reason for the Error

An attempt was made to perform an AGGREGATE or other action on an object which is not a variable.

Solution

Specify a variable instead.