A database server automatically uses the two-phase commit protocol for any transaction that modifies data on multiple database servers.
For example, suppose three database servers that have the names australia, italy, and france, are connected, as shown in Figure 83.
If you execute the commands shown in Figure 84, the result is one update and two inserts at three different database servers.
CONNECT TO stores_demo@italy BEGIN WORK UPDATE stores_demo:manufact SET manu_code = 'SHM' WHERE manu_name = 'Shimara' INSERT INTO stores_demo@france:manufact VALUES ('SHM', 'Shimara', '30') INSERT INTO stores_demo@australia:manufact VALUES ('SHM', 'Shimara', '30') COMMIT WORK