ORA-32644: this function is not allowed outside of MODEL clause
Cause: A function allowed only within the MODEL clause is used outside of MODEL clause.
Action: Rewrite the SQL statement.
Error Type: ORA
Record: 1/1