Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

Erase Method

Applies To

OBlob

OClob

Description

Erases the specified portion of the LOB value of this object starting at the specified offset.

Usage

void Erase(unsigned long amount, unsigned long offset) const throw(OException)

Arguments
Description
amount
An integer specifying the maximum number of characters or bytes to be erased.
offset
An integer specifying absolute offset of the LOB value from which to start erasing. Default value is 1.
Remarks

Either a row-level lock or object-level lock should be obtained before calling this method. The actual number of characters/bytes and the requested number of characters/bytes will differ if the end of the LOB value is reached before erasing the requested number of characters/bytes. For OBlobs, erasing means that zeroes are used to overwrite the existing LOB value. For OClobs, erasing means that spaces overwrite the existing LOB value.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback