Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.17 KB

binding-columns.md

File metadata and controls

21 lines (18 loc) · 1.17 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Binding Columns
Binding Columns
David-Engel
davidengel
01/19/2017
sql
connectivity
conceptual
result sets [ODBC], binding columns
binding columns [ODBC]

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.