Progress
Programming
Handbook
Defining a Temporary Table
You define a temporary table by using the DEFINE TEMP–TABLE statement. For example, the following statement defines temporary table Temp–Cust that inherits the field definitions of table Customer, which must belong to a database that is connected.
Using the DEFINE TEMP–TABLE statement, you can define a temporary table that:
- Inherits the field definitions of an existing database table, or has the fields you define explicitly
- Inherits the index definitions of an existing table, or has the indexes you define explicitly
- Lasts only as long as the procedure that creates it, or as long as the Progress session
- Is private to a single procedure, or shared among several procedures
For more information on the DEFINE TEMP–TABLE statement, see its reference entry in the Progress Language Reference .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |