Home | Previous Page | Next Page   The Embedded SQLJ Language > Handling Result Sets >

Iterator Methods

Both named and positional iterator objects have the following methods:

Positional iterators also have the endFetch() method. The endFetch() method returns TRUE when no more rows are available.

Named iterators also have the next() method. The next() method advances processing to successive rows of the result set. It returns FALSE after it fails to find a row to retrieve. For an example of how to use the next() method, see Named Iterators.

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