Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: 
 SQL Server 
 Azure SQL Database 
 Azure SQL Managed Instance 
 Azure Synapse Analytics 
 Analytics Platform System (PDW)
To get information about a 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 SQLColAttribute to get specific descriptor information about the result column.