home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / informix / 2372 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.6 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!gmd.de!jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!gossip.pyramid.com!pyramid!infmx!davek
  2. From: davek@informix.com (David Kosenko)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: Triggers in Informix?
  5. Message-ID: <1992Nov10.162417.734@informix.com>
  6. Date: 10 Nov 92 16:24:17 GMT
  7. References: <1992Nov4.235656.6016@datamark.co.nz> <1992Nov5.171359.7885@informix.com> <1992Nov10.063200.2163@netcom.com>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Informix Software, Inc.
  10. Lines: 21
  11.  
  12. Tim Smith writes:
  13. >Are the 5.01 triggers "after statement" triggers, or do you support
  14. >the SQL3 standards for all trigger types (I think there are 12 of
  15. >them)?
  16.  
  17. Offhand I do not know wtaht what SQL3 standard for triggers is, but 5.01
  18. will support BEFORE and AFTER triggers on UPDATE, DELETE, and INSERT
  19. operations, with FOR EACH ROW clauses and WHEN clauses.  So for UPDATE,
  20. DELETE, and INSERT operations, a trigger can take effect before the action
  21. or after it, you can apply the trigger action to each row and can place
  22. tests upon columns in the row to determine if the triggered action  should
  23. be executed.  The triggered action can be an insert, delete, update, or
  24. execute procedure statement.  For update triggers, the update of individual
  25. columns can invoke the trigger, or the update of any column.
  26.  
  27. Dave
  28. -- 
  29. Disclaimer: These opinions are not those of Informix Software, Inc.
  30. **************************************************************************
  31. "I look back with some satisfaction on what an idiot I was when I was 25,
  32.  but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney
  33.