Oracle Objects for OLE C++ Class Library
Release 8.1.7

Part Number A85258-01

Library

Product

Contents

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

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.


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents