Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

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

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 © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents