Home | Previous Page | Next Page   SQL Statements > SELECT >

Selecting from a Collection Variable (IDS)

The SELECT statement in conjunction with the Collection-Derived-Table segment allows you to select elements from a collection variable.

The Collection-Derived-Table segment identifies the collection variable from which to select the elements. (See Collection-Derived Table.)

Using Collection Variables with SELECT

To modify the contents of a column of a collection data type, you can use the SELECT statement with a collection variable in various ways:

When one of the tables to be joined is a collection, the FROM clause cannot specify a join. This restriction applies when the collection variable holds your collection-derived table. See also Collection-Derived Table. and the INSERT, UPDATE, and DELETE statement descriptions in this chapter.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]