HomeOracleOracle Error ORA-29255: Cursor contains both bind and define arrays which is not permissible

Oracle Error ORA-29255: Cursor contains both bind and define arrays which is not permissible

Oracle Error Message

ORA-29255: Cursor contains both bind and define arrays which is not permissible

Reason for the Error

Both define_array and bind_array have been called on this cursor. This is illegal. It is not possible for a cursor to both contain array binds and array defines. The semantics of this setting are nonsensical. Array defines are used to move data from select queries into PL/SQL tables and array binds to bind PL/SQL tables to non-select queries.

Solution

Modify your PL/SQL program to only perform calls to one of the two functions depending on the kind of cursor at hand.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...