Processing Results - Retrieve Result Set Information
Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (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.