Advertisement
Guest User

atom

a guest
May 22nd, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. begin tran
  2. select * from zzxatoml
  3. -- select * from zzxcompr
  4.  
  5. insert into zzxatoml (pKey, User_ID, Last_mod, Process, EMAIL_SUBJECT, EMAIL_BODY, EMAIL_FILENAME)
  6. values (3, 'CGSADMIN', '2015-05-22 08:48:00', 'ZZOINVCP', 'W.L. Gore & Associates Invoices', 'Attached is your invoice from W.L. Gore & Associates', 'GORE_INVOICES')
  7.  
  8. update bcsysnum set sy_number = (select max(PKey) from zzxatoml) where sy_table = 'zzxatoml'
  9.  
  10. select * from zzxatoml
  11. -- rollback
  12.  
  13. commit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement