EMPTY-TEMP-TABLE( ) method

Deletes all records from a temp-table associated with a buffer object.

When you empty a temp-table that is defined as UNDO within a transaction, the ABL Virtual Machine (AVM) deletes the records individually. This is less efficient than emptying the temp-table outside the transaction, where the AVM deletes all records in the temp-table as a unit.

Return type: LOGICAL

Applies to: Buffer object handle

Syntax

EMPTY-TEMP-TABLE ( )

When you invoke this method on a buffer, the AVM sets the ORIGIN-HANDLE attribute on any changes temp-table corresponding to the source temp-table associated with this buffer object to the Unknown value (?).

Note: This method corresponds to the EMPTY TEMP-TABLE statement.