Select from a collection column

To select all elements in a collection column, specify the collection column in the select list of the SELECT statement. If you put a collection host variable in the INTO clause of the SELECT statement, you can access these elements from the HCL OneDB™ ESQL/C application. For more information, see ids_esqlc_0296.html#ids_esqlc_0296. For an example that uses a collection variable to select and display the elements of a collection, see The collect.ec program.