Redigera

Dela via


Processing Results - Retrieve Result Set Information

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

  1. Call SQLNumResultCols to get the number of columns in the result set.

  2. For each column in the result set:

    Or

    • Call SQLColAttribute to get specific descriptor information about the result column.

See Also

Process Results (ODBC)

Determining the Characteristics of a Result Set (ODBC)