microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
121 stars 40 forks source link

SQLNextColumn with NULL pointer for Col_or_Param_Num #60

Closed matthew-wozniczka closed 7 years ago

matthew-wozniczka commented 7 years ago

Section 6.1.1 states:

Calling SQLNextColumn with a null pointer for Col_or_Param_Num skips the rest of the DATA_AT_FETCH columns for this row.

What about dynamic columns, and bound columns for which length/type exceptions occur?

Also, for this row is ambiguous in the context of multi-row fetches.

mikepizzo commented 7 years ago

Revised wording:

Calling SQLNextColumn with a null pointer for Col_or_Param_Num populates any remaining bound columns, skipping any DATA_AT_FETCH or unbound dynamic columns and treating any type or length exceptions according to SQL_TE_CONTINUE and SQL_LE_CONTINUE, respectively, for the remainder of this row (or row array in the case of array fetch).