How to: Retrieve Result Set Information (ODBC)

To get information about a result set

  1. Call SQLNumResultCols to get the number of columns in the result set.

  2. For each column in the result set:

    Or

    • Call SQLColAttribute to get specific descriptor information about the result column.