Cause: Cursor in an invalid state. See the solution below.
Error solution: Make sure that the oci/upi function is called after fetch.
Database version: Oracle 11g Release 2 (11.2)
You are here: Home // Oracle 11g // ORA-01016: This function can be called only after a fetch
Tags: ora, Oracle 11g Release 2