Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. -- transaction 1
  2. UPDATE accounts SET balance = balance + 100.00 WHERE acctnum IN (11111, 22222);
  3. -- transaction 2; note the acctnum order is different
  4. UPDATE accounts SET balance = balance - 100.00 WHERE acctnum IN (22222, 11111);
Add Comment
Please, Sign In to add comment