Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.65 KB

File metadata and controls

39 lines (28 loc) · 1.65 KB
title Retrieve Result Set Information (ODBC) | Microsoft Docs
ms.custom
ms.date 03/03/2017
ms.prod sql
ms.prod_service database-engine, sql-database, sql-data-warehouse, pdw
ms.reviewer
ms.technology native-client
ms.topic reference
helpviewer_keywords
result sets [ODBC]
result sets [ODBC], fetching
ms.assetid 34f235e4-f80b-4123-8764-9deb18506f14
author markingmyname
ms.author maghan
monikerRange >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current

Processing Results - Retrieve Result Set Information

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md]

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)