Getting Result Set Information
To get information about the columns in the result set
-
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 SQLColAttributes to get specific descriptor information about the result column.