BEGIN DISTRIBUTED TRANSACTION
starts a distributed transaction spanning linked servers
What changes
- Input
- none
- Output or change
- distributed transaction (MS DTC) scope
Syntax at a glance
BEGIN DISTRIBUTED { TRAN | TRANSACTION } [ transaction_name | @tran_name_variable ] [ ; ]
Work example
One unit of work must span enlisted resource managers through a configured transaction coordinator.
Verify coordinator support, timeout, recovery, and failure behavior in a test environment before adopting a distributed transaction.
Check your work BEGIN DISTRIBUTED TRANSACTION. The test confirms commit and rollback across every enlisted resource after a simulated participant failure.
Open Microsoft Learn for full syntax, permissions, and details for your version.