Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.7 KB

logged-vs-unlogged-modifications.md

File metadata and controls

33 lines (28 loc) · 1.7 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Logged vs. Unlogged Modifications
Logged vs. Unlogged Modifications
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
logged vs. nonlogged modifications [SQL Server Native Client]
columns [ODBC]
ODBC data types, image columns
nonlogged vs. logged modifications
ODBC data types, text columns
image columns [ODBC]

Logged vs. Unlogged Modifications

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

An application can request that the [!INCLUDEssNoVersion] Native Client ODBC driver not log text, ntext, and image modifications. Care should be used with this option, however. It should be used only for those situations where the text, ntext, or image data is not critical and data owners are willing to trade off the ability to recover data for higher performance.

The logging of text, ntext, and image modifications is controlled by calling SQLSetStmtAttr with the Attribute parameter set to SQL_SOPT_SS_ TEXTPTR_LOGGING and ValuePtr set to either SQL_TL_ON or SQL_TL_OFF.

See Also

Managing Text and Image Columns