This example shows you how to test for data consistency.
CONNECT DATABASE iqdemo AS sales
INSERT INTO FinancialCodes (Code, Type, Description) VALUES ('e6', 'expense', 'Services')
CONNECT DATABASE iqdemo AS marketing; SELECT CustomerID, OrderDate FROM SalesOrder
CONNECT DATABASE iqdemo AS accounting
INSERT INTO FinancialCodes (Code, Type, Description) VALUES ('r3', 'revenue', 'Sales & Marketing')
Set some savepoints to return to as you run two similar transactions. This time, you can put the second transaction on hold until the first one completes.