How to: Retrieve Result Set Information (ODBC)

New: 14 April 2006

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.

See Also

Concepts

Determining the Characteristics of a Result Set (ODBC)

Other Resources

Processing Results (ODBC) (How to)

Help and Information

Getting SQL Server 2005 Assistance