Closed matthew-wozniczka closed 7 years ago
Also, what is the difference (if any) in this scenario between calling SQLNextColumn(NULL)
vs SQLFetch
/SQLFetchScroll
?
SQLFetch should always advance to the next row(set).
We can require calling SQLNextColumn(Null) prior to calling SQLFetch if it is in a DATA_AVAILABLE state.
Updated spec: "Calling SQLFetch or SQLFetchScroll in a data-available state results in a function sequence error."
Section 3.6 (Getting Data during Fetch) states:
This raises a few questions:
SQL_DATA_AT_FETCH
columns, or to columns which would have triggeredSQL_METADATA_CHANGED
/SQL_MORE_DATA
returns + dynamic columns as well? If so, what occurs to those bindings?