HomeOracleOracle Error OCI-21580: The LOB operation length (value=string) for column (string) must be an even number of bytes.

Oracle Error OCI-21580: The LOB operation length (value=string) for column (string) must be an even number of bytes.

Oracle Error Message

OCI-21580: The LOB operation length (value=string) for column (string) must be an even number of bytes.

Reason for the Error

An attempt was made to call OCIXStreamInChunkSend with an odd number of bytes for a column flagged as AL16UTF16 or NCLOB.

Solution

Correct either the LOB column length or ‘column_flag’ argument to OCIXStreamInChunkSend call.

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...