| title | Retrieve Result Set Information (ODBC) | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 06/13/2017 | ||
| ms.prod | sql-server-2014 | ||
| ms.reviewer | |||
| ms.technology | native-client | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
||
| ms.assetid | 34f235e4-f80b-4123-8764-9deb18506f14 | ||
| author | MightyPen | ||
| ms.author | genemi | ||
| manager | craigg |
-
Call SQLNumResultCols to get the number of columns in the result set.
-
For each column in the result set:
- Call SQLDescribeCol to get information about the result column.
Or
- Call SQLColAttribute to get specific descriptor information about the result column.
Processing Results How-to Topics (ODBC)
Determining the Characteristics of a Result Set (ODBC)