OciStmtSetPieceInfo Return Code 1062 Ora-03130 when dynamic fetch on BLOB (Doc ID 418840.1)

Last updated on AUGUST 22, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 10.2.0.3 [Release 10.1 to 10.2]
Information in this document applies to any platform.
***Checked for relevance on 22-Aug-2013***

Symptoms

OCIStmtSetPieceInfo() for a dynamic fetch of raw/binary data, if piece size greater than 16777171 (KGHREQMAX/LXMAXRATIO) returns returns the wrong value 1062, at the same time the function OCIErrorGet gets ORA-03130

Applies for binding type (SQLT_BIN, SQLT_LBI, SQLT_LVB) for BLOB field OCIDefineByPos with OCI_DYNAMIC_FETCH.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms