Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 2.57 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Transactions | Microsoft Docs
03/14/2017
sql-server-2016
docset-sql-devref
reference
OLE DB, transactions
transactions [OLE DB]
SQL Server Native Client OLE DB provider, transactions
3b41e33a-c1ca-4b2a-9464-312b0ed3ca89
30
JennieHubbard
jhubbard
jhubbard

Transactions

[!INCLUDESNAC_Deprecated]

The [!INCLUDEssNoVersion] Native Client OLE DB provider implements local transaction support. The consumer can use distributed or coordinated transactions by using Microsoft Distributed Transaction Coordinator (MS DTC). For consumers requiring transaction control that spans multiple sessions, the [!INCLUDEssNoVersion] Native Client OLE DB provider can join transactions initiated and maintained by MS DTC.

By default, the [!INCLUDEssNoVersion] Native Client OLE DB provider uses an autocommit transaction mode, where each discrete action on a consumer session comprises a complete transaction against an instance of [!INCLUDEssNoVersion]. The [!INCLUDEssNoVersion] Native Client OLE DB provider autocommit mode is local, and autocommit transactions never span more than a single session.

The [!INCLUDEssNoVersion] Native Client OLE DB provider exposes the ITransactionLocal interface, allowing the consumer to use explicitly and implicitly start transactions on a single connection to an instance of [!INCLUDEssNoVersion]. The [!INCLUDEssNoVersion] Native Client OLE DB provider does not support nested local transactions.

In This Section

See Also

SQL Server Native Client (OLE DB)