Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Copy (OraLOB) Method

Applies To

OraBLOB, OraCLOB

Description

Copies a portion of the internal LOB value of an input OraBlob/OraClob object to internal LOB value of this instance.

Arguments
Description
[in]srcLOB
An OraCLob or OraBlob object whose value is to be copied
[in][optional] amount
An integer specifying number of bytes or characters to copy. Default value is the size of the BLOB/CLOB value of the srcLOB object.
[in] [optional]destOffset
An integer specifying the offset in bytes or characters for the value of this object. Default value is 1.
[in] [optional]srcOffset
An integer specifying the offset in bytes or characters, for the value of the srcLOB object. Default value is 1.
Usage

OraBlob.Copy srcBlob,amount,destOffset,srcOffset

OraClob.Copy srcClob,amount,destOffset,srcOffset

Remarks

Either row-level lock or object-level locks should be obtained before calling this method.