Advertisement
gidmakus

Trigger

Jun 8th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.40 KB | None | 0 0
  1.  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON hi_renewal_license AFTER INSERT AS update hi_fee_payment set w_renewal='' at line 1
  2.  
  3.  
  4. CREATE TRIGGER update_paym ON hi_renewal_license
  5. AFTER INSERT AS
  6. update hi_fee_payment
  7. set w_renewal='PR'
  8. from inserted
  9. where hi_renewal_license.id_fee = inserted.id_fee
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement