Oracle DBA, How To, Error, Cause and Action

ORA-01016: This function can be called only after a fetch

ORA-01016: This function can be called only after a fetch



Cause: Cursor in an invalid state.



Action: Make sure that the oci/upi function is called after fetch.