The collection-derived table clause on collections
The collection-derived table clause allows you to specify a collection host variable as a table name.
This clause has the following syntax:
TABLE(:coll_var)
In this example, coll_var is a collection host variable. It can be either a typed or untyped collection host variable, but it must be declared and have memory allocated in the application before it appears in a collection-derived table clause.
For more information about the syntax of the collection-derived table clause, see the description of the collection-derived table segment in the HCL OneDB™ Guide to SQL: Syntax.