8. SQL Statements : PREPARE TO COMMIT : Syntax
 
Share this page                  
Syntax
The PREPARE TO COMMIT statement has the following format:
EXEC SQL PREPARE TO COMMIT
              WITH HIGHDXID = value, LOWDXID = value;
value
Can be an integer constant or integer variable. The value associated with HIGHDXID must be the high-order 4 bytes of the distributed transaction ID. The value associated with LOWDXID must be the low-order 4 bytes of the distributed transaction ID.