Export (0) Print
Expand All

How to retrieve result set information (ODBC)

SQL Server 2000

  New Information - SQL Server 2000 SP3.

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:
    • Call SQLDescribeCol to get information about the result column.

    Or

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

See Also

Determining the Characteristics of a Result Set

How to process results (ODBC)

SQLColAttribute

SQLDescribeCol

SQLNumResultCols

Show:
© 2014 Microsoft