8.5.7 Using Temporary Collections

Collections let APEX store one or more rows of temporary information. At runtime, you create a named collection with the APEX_COLLECTION package. A session can contain multiple collections, and APEX clears them automatically when the session ends.