Oracle Objects for OLE C++ Class Library Release 9.2 Part Number A95896-01 |
|
Applies To
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 |
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. |
Either a row-level lock or an object-level lock should be obtained before calling this method.
|
Copyright © 1998, 2002 Oracle Corporation. All Rights Reserved. |
|