Temp-table object handle
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
A handle to a temp-table object. A temp-table object handle corresponds to an underlying ABL temp-table, which can be static or dynamic. A static temp-table is one you define at compile time with the DEFINE TEMP-TABLE statement. A dynamic temp-table is one you create at run time with the CREATE TEMP-TABLE statement.
Syntax
|
- temp-table-handle
- An item of type HANDLE representing a handle to a temp-table object.
- attribute
- An attribute of the temp-table object.
- method
- A method of the temp-table object.
Attributes
Methods
Example
The following code fragment demonstrates the creation, definition and use of a temp-table object:
|
Notes
- The temp-table object has three states, CLEAR, UNPREPARED and PREPARED. The temp-table is in a CLEAR state either when the temp-table is first created or immediately after the CLEAR( ) method is applied. The temp-table is in an UNPREPARED state during the period after the first definitional method has been applied and before the TEMP-TABLE-PREPARE( ) method is applied. The temp-table is in a PREPARED state after the TEMP-TABLE-PREPARE( ) method has been applied.
- The user can discern whether the temp-table is in an UNPREPARED or PREPARED state by using the PREPARED attribute.
See also
Buffer object handle, CREATE TEMP-TABLE statement, DEFINE TEMP-TABLE statement, ProDataSet object handle