Article ID: 295027 - Last Review: June 26, 2001 - Revision: 1.1 INF: Limited Support for Savepoint in Distributed Transactions in SQL Server 2000 Service Pack 1This article was previously published under Q295027 On This PageSUMMARY
When a SAVE TRANSACTION statement is attempted within a distributed transaction, the following error message occurs:
Error: 627 level 16 cannot use Save Transaction within a distributed
transaction.
Trace flag 8599 is a migration tool for SQL Server 6.5 based applications and a legacy extension that will not be developed in future releases. Applications that rely on trace flag 8599 will not be able to take advantage of the most current and all new features of distributed transactions. MORE INFORMATION
Savepoint support in a distributed transaction in SQL Server was removed in Microsoft SQL Server 7.0 and is being re-introduced in Microsoft SQL 2000 Service Pack 1. This new trace flag is being introduced primarily to allow an application written on SQL Server 6.5 that uses savepoints in distributed transactions to work unchanged in SQL Server 2000 and later. Some new features in SQL Server 7.0 and SQL Server 2000 that require distributed queries are not compatible with trace flag 8599. Also, after a savepoint is set within a distributed transaction, all remote operations including remote "read only" are disallowed. Disallowed operations include:
Error 8526 Level 16: Cannot go remote while the session is enlisted in a distributed transaction that has an active savepoint.
Because there is no synchronization point support from Microsoft Distributed Transaction Coordinator (MSDTC) for a distributed transaction, a savepoint for a DTC transaction in one instance of SQL Server does not automatically set savepoints in other instances of SQL Server and components other than SQL Server that are involved in the DTC transaction. When you rollback a DTC transaction to a savepoint in one server, it does not automatically rollback other parts of the same transaction that are not on the same server. REFERENCESFor more information about using trace flags and startup parameters, see the "DBCC TRACEON" and "Using Startup Options" topics in SQL Server 2000 Books Online.To use trace flag 8599, obtain the latest service pack for SQL Server 2000: 290211
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
| Article Translations
|
Back to the top
