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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Trigger question

Re: Trigger question

From: Michael Netrusov <mn_at_g-fax.com>
Date: Tue, 19 Dec 2000 17:23:08 -0500
Message-Id: <10715.124966@fatcity.com>


Adam,

create or replace trigger "mike"."trt1" before update on "mike"."t1" for each row
begin

  null;

end;

To get a quick reference you can use say, Oracle DBA Studio, create the desired object with a gui and copy-paste the generated sql test.

HTH,
Michael

>
>
> Can someone send me a quick how-to for creating an on update trigger that
> updates a field that tracks record modification in a table - for each
> record. I am feeling extraordinarily braindead today .... i've done this
> in a prior life, but right now 8i and I aren't getting along. I am trying
> to retrofit some record change tracking ...just a cut and paste copy of
> working on-update pre record trigger code that I can see -
>
> An additional aside - can someone point me to a good basic examples site /
> book that might be usefull for this sort of thing? Oracle Docs seem to
have
> lots of manuals, but all I really need is to see a working block of code
> that I can disect and then understand this sort of stuff from then on.
>
>
>
> thanks
>
> adam
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Adam Turner
> INET: ATurner_at_concreteinc.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Tue Dec 19 2000 - 16:23:08 CST

Original text of this message

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