|Oracle® Objects for OLE Developer's Guide
11g Release 2 (11.2) for Microsoft Windows
Part Number E17727-03
|PDF · Mobi · ePub|
Trims or truncates the LOB value to shorter length.
OraBlob.Trim NewLen OraClob.Trim NewLen
The arguments for the method are:
Either a row-level lock or object-level lock should be obtained before calling this method.
Note:When manipulating LOBs using LOB methods, such as the
CopyFromFile, the LOB object is not automatically trimmed if the length of the new data is shorter than the old data. Use the
Trim(OraLOB) method to shrink the LOB object to the size of the new data.