Retrieving Data Through Cursors

There are two ways to retrieve data through cursors:

You can retrieve data from both bound and unbound columns in the same row.

When retrieving rows involving potentially large text and image columns, if you do not want to access the text data column in the row, do not bind that column. When you do an SQLExtendedFetch, the retrieved row will only contain the text pointer for the unbound column as opposed to the previous behavior of returning the complete row including the text data.

The following ODBC functions are relevant:

SQLFetch SQLRowCount
SQLExtendedFetch