How to fix the Oracle error ORA-39772: column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA?

In this post, you’ll learn more about the Oracle ErrorORA-39772: column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-39772: column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA

Reason for the Error ORA-39772: column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA

An attempt was made to reset a column array when a row conversion is still in progress.

How to fix the Error ORA-39772: column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA ?

You can fix this error in Oracle by following the below steps

Complete the current row before reseting the column array. To ignore the current row when conversion returned OCI_NEED_DATA, set the current column flag to OCI_DIRPATH_COL_ERROR. This should be followed by a conversion, which will undo and ignore the row. The column array(s) can then be reset.

Tags :

Leave Your Comment