共用方式為


How to: Retrieve Result Set Information (ODBC)

新增: 2006 年 4 月 14 日

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.

請參閱

概念

Determining the Characteristics of a Result Set (ODBC)

其他資源

Processing Results (ODBC) (How to)

說明及資訊

取得 SQL Server 2005 協助