Re: Triggers in Oracle
Date: 8 Feb 1994 20:22:49 GMT
Message-ID: <2j8sap$4ee_at_charon.citicorp.com>
Eric Chu (ericc_at_ucsee.EECS.Berkeley.EDU) wrote:
> Having been an Ingres user for a while, I'm used to being able to
> create rules and procedures which act as triggers whenever a table is
> updated, records inserted, etc.
> However, I can't really figure out how to do the same in Oracle.. Is there
> something analogous to 'create rule' and 'create procedure' in Oracle?
> All I want to do is store some control information in the table whenever
> a record is added or updated and I'd prefer to do this through a trigger
> rather than at the application level.
> Thanks.
> Eric Chu
> ericc_at_ucsee.eecs.berkeley.edu
Oracle provides database triggers too. Look into the PL/SQL reference and it will tell you how to build procedure packages and how to build a database trigger at before/after insert/delete/update event on a table.
Cheers,
Judy
Received on Tue Feb 08 1994 - 21:22:49 CET