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 Informix® ESQL/C 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 Informix Guide to SQL: Syntax.