The SQL statement in an OPEN statement or FOR loop must be a SELECT PLS-00170 – Oracle Error Code Tagged on: oracle error pls-00170 PLS-00170 pls-00170 error code