Try OpenEdge Now
skip to main content
ProDataSets
Introducing the OpenEdge DataSet : Using ProDataSets : ProDataSets and temp-tables : Static or dynamic temp-tables
 
Static or dynamic temp-tables
You can define a temp-table in a static definition, specifying all its fields and indexes in a single statement. You can also create a temp-table as a dynamic object with a handle and then add fields, buffers, and indexes to it in individual successive statements, finalizing the temp-table structure with a TEMP-TABLE-PREPARE method. You can also retrieve the handle to a static temp-table and then access its attributes, the same as you can a dynamic temp-table, in order to see what fields and indexes it contains, what its default buffer is, and so forth.