Home | Previous Page | Next Page   Working with Rows and Collections > Transferring Row and Collection Data >

Local Fetch

IBM Informix ODBC Driver performs a local fetch when you retrieve a row or collection from one location on the client computer to another location on the client computer.

To perform a local fetch
  1. Call ifx_rc_create() to allocate a row or collection buffer.
  2. Call SQLBindCol() to bind the buffer handle to the local row or collection.
  3. Execute a SELECT statement to transfer the row or collection data to the local buffer.
  4. For each element in the row or collection, call ifx_rc_fetch() to copy the value to the buffer.
  5. Use the row or collection buffer.
  6. Call ifx_rc_free() to deallocate the buffer.

A local fetch has the following limits on SQL data conversion:

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