Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.93 KB

bound-vs-unbound-text-and-image-columns.md

File metadata and controls

32 lines (27 loc) · 1.93 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Bound vs. Unbound Text and Image Columns
Bound vs. Unbound Text and Image Columns
markingmyname
maghan
03/14/2017
sql
native-client
reference
text columns [ODBC]
SQL Server Native Client ODBC driver, image columns
SQL Server Native Client ODBC driver, text columns
data types [ODBC], image
data types [ODBC], text
columns [ODBC]
ODBC data types, image columns
ODBC data types, text columns
image columns [ODBC]

Bound vs. Unbound Text and Image Columns

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

When using server cursors, the [!INCLUDEssNoVersion] Native Client ODBC driver is optimized to not transmit the data for unbound text, ntext, or image columns at the time SQLFetch is performed. The text, ntext, or image data is not actually retrieved from the server until the application issues SQLGetData for the column.

Many applications can be written so that no text, ntext, or image data is displayed while a user is simply scrolling up and down in a cursor. When a user selects a row to get more detail, the application can then call SQLGetData to retrieve the text, ntext, or image data. This will prevent transmitting the text, ntext, or image data for any of the rows the user does not select, and can therefore prevent the transmission of very large amounts of data.

See Also

Managing Text and Image Columns
Cursor Behaviors