Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

CopyFromBFILE (OraLOB) Method

Applies To

OraBLOB, OraCLOB

Description

Copies a portion or all of the LOB value of an OraBFile to the LOB value of this object.

Arguments

[in] srcBFile
An OraBFile object from which the data is to be copied.
[in] [optional] amount
An Integer specifying maximum number to be copied, in characters for OraClob or bytes for OraBlob/OraBfile. Default value is the size of BFILE value of the srcBFile object.
[in] [optional] destOffset
An Integer specifying the absolute offset for this instance. Default is 1.
[in] [optional] srcOffset
An Integer specifying the absolute offset for the BFILE value of the source OraBFile object. Default is 1.
Usage

OraBlob.CopyFromBFile srcBFile, amount, destOffset, srcOffset

OraClob.CopyFromBFile srcBFile, amount, destOffset, srcOffset

Remarks

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

For a single byte character set, the OraBFile should be of the same character set as the database.

If the database has a varying width character set, the OraBFile passed to OraClob.CopyFromBFile must point to a file that is in the UCS2 character set.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents