Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

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

CopyFromBlob/Clob Method

Applies To

OBlob

OClob

Description

Copies a portion of the LOB value of an input OBlob/OClob object to the LOB value of this instance.

Usage

void CopyFromBlob(const OBlob& src_lob, unsigned long amount, unsigned long dst_offset =1, unsigned long src_offset = 1) const throw(OException)

void CopyFromClob(const OClob& src_lob, unsigned long amount, unsigned long dst_offset =1, unsigned long src_offset = 1) const throw(OException)

Arguments

Arguments
Description
src_lob
OBlob or OClob object whose value is to be copied.
amount
An integer specifying number of bytes or characters to copy.
dst_offset
An integer specifying the 1-based offset in bytes (OBlob) or characters (OClob) in the value of this object. Default value is 1.
src_offset
An integer specifying the 1-based offset in bytes (OBlob or OBfile) or characters (OClob) in the value of the src_lob object. Default value is 1.

Remarks

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