Defining a temp-table
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Defining a temp-table
You define a temp-table using the DEFINE TEMP-TABLE statement.
There are two basic ways to define the fields and indexes in the
table. You can make the temp-table LIKE some single
database table (or even like another temp-table that you have already
defined), which gives it all the fields and indexes from the other
table, or you can define fields and indexes individually. You can
also do both, so that in a single statement you can define a temp-table to
be LIKE another table but also to have additional
fields and indexes.
Here is the basic syntax for the DEFINE TEMP-TABLE statement:
Syntax
|
You can see a description of the entire statement in the online help or in ABL Reference.