| Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 | 
 | 
| 
 | PDF · Mobi · ePub | 
Copies a portion or all of the LOB value of an OraBFILE object to the LOB value of this object.
OraBlob.CopyFromBFile srcBFile, amount, destOffset, srcOffset OraClob.CopyFromBFile srcBFile, amount, destOffset, srcOffset
The arguments for the method are:
| Arguments | Description | 
|---|---|
| [ in]srcBFile | An OraBFILEobject from which the data is to be copied. | 
| [ in] [optional]amount | An Integerspecifying the maximum number to be copied, in characters forOraCLOBor bytes forOraBLOBorOraBFILE. Default value is the size ofBFILEvalue of thesrcBFileobject. | 
| [ in] [optional]destOffset | An Integerspecifying the absolute offset for this instance. Default is1. | 
| [ in] [optional]srcOffset | An Integerspecifying the absolute offset for theBFILEvalue of the sourceOraBFILEobject. Default is1. | 
Obtain either a row-level lock or object-level lock before calling this method.
For a single-byte character set, the OraBFile object should be of the same character set as the database.
If the database has a variable width character set, the OraBFile object passed to the OraClob.CopyFromBFile method must point to a file that uses the UCS2 character set.