Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Copies a portion or all of the LOB value of an OraBFile to the LOB value of this object.
Arguments |
Description |
---|---|
[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. |
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.