Database Error Messages

OCI-17166

Cannot perform fetch on a PL/SQL statement

Cause

An attempt is being made to fetch results from a PL/SQL block that does not return a result set.


Action

Use executeUpdate() or execute() for PL/SQL blocks instead of executeQuery().