6. Working with Transactions and Handling Errors : Two Phase Commit : Statements that Support Two Phase Commit : Distributed Transaction ID
 
Share this page                  
Distributed Transaction ID
Both the PREPARE TO COMMIT and the CONNECT statements make use of the distributed transaction ID, an 8-byte integer that must be supplied by the coordinator application. The distributed transaction ID must be a unique number. The local DBMS returns an error to the coordinator application if a specified distributed transaction ID is not unique within the local DBMS.