| title | Retrieve Result Set Information (ODBC) | ||
|---|---|---|---|
| description | Processing Results - Retrieve Result Set Information | ||
| author | markingmyname | ||
| ms.author | maghan | ||
| ms.date | 03/03/2017 | ||
| ms.service | sql | ||
| ms.subservice | native-client | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
-
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.