HOW to USE 'LONG RAW' in Bulk Insertion using OCI

From: Tuhin Kumar <tkumar_at_ipolicynet.com>
Date: 6 Aug 2004 06:14:45 -0700
Message-ID: <e4ad76f5.0408060514.53c54295_at_posting.google.com>



Hi,

    I need to do bulk insertion of LONG RAW data into a table using the OCI.
  To the OCIBindByPos API what should I specify in the field size(value_sz). As different records can have different lenght for this LONG RAW data what value should I provide.

Thanks,
Tuhin

sword OCIBindByPos ( OCIStmt *stmtp,

                     OCIBind      **bindpp,
                     OCIError     *errhp,
                     ub4          position,
                     dvoid        *valuep,
                     sb4          value_sz,
                     ub2          dty,
                     dvoid        *indp,
                     ub2          *alenp,
                     ub2          *rcodep,
                     ub4          maxarr_len,
                     ub4          *curelep, 
                     ub4          mode );
Received on Fri Aug 06 2004 - 15:14:45 CEST

Original text of this message