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: Trigger on commit

Re: Trigger on commit

From: Bricklen Anderson <bricklen_at_shaw.ca>
Date: Mon, 04 Feb 2002 18:43:29 GMT
Message-ID: <3C5ED5D0.837FD656@shaw.ca>


maybe a WHEN clause:
WHEN (new.column_name <> old.column_name)

although if you only want that to happen AFTER a commit, then that may not be of any help you. possibly a job that monitors for changes?

http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76939/adg13trg.htm#376 for more on triggers.

"Cristian Petculescu [MS]" wrote:
>
> I would like to get a trigger code fired when (after) a transaction that
> affects in any way a certain table is commited. I would like to use this to
> signal a client app that the table changed. I don't want to use triggers for
> insert/update/delete as these would have to insert in another table (because
> they will get commited when the other changes are commited) and becasuse in
> a transaction might be thousands of inserts and the only thing I care is
> when the table really changed to know it (not what the actual changes are).
>
> Is there support for such a thing?
>
> Thanks in advance,
> C
Received on Mon Feb 04 2002 - 12:43:29 CST

Original text of this message

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