home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a061 / 1.img / CLIENT1 / ACT05A.QRY < prev    next >
Encoding:
Text File  |  1992-02-21  |  612 b   |  22 lines

  1. begin transaction
  2.     update titles
  3.     set type = 'computers'
  4.     where type = 'popular_comp'
  5. commit transaction
  6.  
  7. /*The first transaction has been committed to the database*/
  8.  
  9. begin transaction
  10.     update titles
  11.     set advance = $3000
  12.     where title_id = 'PS7777'
  13.     waitfor delay '00:01'
  14.  
  15. /*Pausing for one minute in the middle of the second 
  16. **transaction to give you an opportunity to reboot both 
  17. **systems. This transaction will not be reflected in the 
  18. **database because it did not reach the commit statement.*/
  19.  
  20. commit transaction
  21.                                                
  22.