Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.28 KB

File metadata and controls

24 lines (21 loc) · 1.28 KB
title Binding Columns | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
helpviewer_keywords
result sets [ODBC], binding columns
binding columns [ODBC]
ms.assetid c4407694-c8e1-4b0b-a39d-b007e6c3b54d
author David-Engel
ms.author v-daenge

Binding Columns

Data fetched from the data source is returned to the application in variables that the application has allocated for this purpose. Before this can be done, the application must associate, or bind, these variables to the columns of the result set; conceptually, this process is the same as binding application variables to statement parameters. When the application binds a variable to a result set column, it describes that variable - address, data type, and so on - to the driver. The driver stores this information in the structure it maintains for that statement and uses the information to return the value from the column when the row is fetched.

This section contains the following topics.