home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cimshop!davidm
- From: davidm@consilium.com (David S. Masterson)
- Newsgroups: comp.databases.informix
- Subject: Re: Triggers in Informix?
- Message-ID: <DAVIDM.92Nov11164109@consilium.com>
- Date: 12 Nov 92 00:41:09 GMT
- References: <1992Nov4.235656.6016@datamark.co.nz> <1992Nov5.171359.7885@informix.com>
- <1992Nov10.063200.2163@netcom.com> <1992Nov10.162417.734@informix.com>
- Sender: root@cimshop.UUCP
- Distribution: comp
- Organization: Consilium Inc., Mountain View, California
- Lines: 25
- In-reply-to: davek@informix.com's message of 10 Nov 92 16:24:17 GMT
- X-Posting-Software: GNUS 3.13 [ NNTP-based News Reader for GNU Emacs ]
-
- >>>>> On 10 Nov 92 16:24:17 GMT, davek@informix.com (David Kosenko) said:
-
- > Offhand I do not know wtaht what SQL3 standard for triggers is, but 5.01
- > will support BEFORE and AFTER triggers on UPDATE, DELETE, and INSERT
- > operations, with FOR EACH ROW clauses and WHEN clauses. So for UPDATE,
- > DELETE, and INSERT operations, a trigger can take effect before the action
- > or after it, you can apply the trigger action to each row and can place
- > tests upon columns in the row to determine if the triggered action should
- > be executed. The triggered action can be an insert, delete, update, or
- > execute procedure statement. For update triggers, the update of individual
- > columns can invoke the trigger, or the update of any column.
-
- Will you be able to define more than one trigger (of different types) against
- a table? That is, could each table have one each of BEFORE UPDATE, AFTER
- UPDATE, BEFORE INSERT, AFTER INSERT, etc. triggers?
-
- --
- ====================================================================
- David Masterson Consilium, Inc.
- (415) 691-6311 640 Clyde Ct.
- davidm@consilium.com Mtn. View, CA 94043
- ====================================================================
- We should develop anti-satellite weapons because we could not have
- prevailed without them in 'Red Storm Rising'.
- -- Vice President Dan Quayle
-