Define temp-tables for a dataset
- Last Updated: September 14, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Define temp-tables
To define a temp-table you use the DEFINE TEMP-TABLE statement. When defining a temp-table,
you specify each field and index in the temp-table definition. You define each field
as a specific data-type, as you would in a DEFINE
VARIABLE statement. You use the BEFORE-TABLE keyword
to specify a before-table. The before-table stores the original data from an updated
record, when the data in the temp-table record is changed. To define a temp-table
with specific fields and indexes, use the following syntax:
|
The following is an example of the DEFINE
TEMP-TABLE statement:
|