Oracle Solution for Error ora-32626

Solution for Oracle Error ORA-32626

ORA-32626: illegal bounds or increment in MODEL FOR loop

What triggered the Error:

FOR loop allows only numeric and datetime without timezone type for bounds. Only constants of interval and numeric types are allowed as increment/decrement expressions.

What should we do to fix it:

Check the SQL statement and rewrite if necessary.