Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Global Triggers?

Re: Global Triggers?

From: JimWilson <nospam_at_nope.com>
Date: Tue, 20 Mar 2001 17:58:01 GMT
Message-ID: <MPG.152163df6956c91f98968d@news.bellatlantic.net>

That's what I was afraid of (27 triggers). Oh well, thank you very much all for your help any way.

Jim

In article <3AB77C9D.AC76A17F_at_sympatico.ca>, swayne.bell_at_sympatico.ca says...
> Hi,
> The default of SYSDATE will work for new rows (inserts) but for updates
> you have to create the trigger on each table.
>
> Hope this helps,
> Steve
>
> "Daniel A. Morgan" wrote:
>
> > > I have a database with 27 tables. Each table has a common field
> > > (update_date) that will contain the sysdate when the table is updated. I
> > > can do a trigger for each of the 27 tables to do this or use a "global
> > > trigger". My question is, is there such a thing as a global trigger?
> > > something to write once and use on all tables. Thank you.
> >
> > As Sybrand says ... no there is not. But you could set SYSDATE as the
> > default.
> >
> > Daniel A. Morgan
>
>
Received on Tue Mar 20 2001 - 11:58:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US