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: triggers

Re: triggers

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 13 Feb 2006 09:31:47 -0800
Message-ID: <1139851903.122632@jetspin.drizzle.com>


extents wrote:
> Hi
> Is there a way to find out how many times a trigger has been fired
> during a given time?
>
> ta

CREATE TABLE trigger_audit (
times_fired NUMBER,
when_fired TIMESTAMP DEFAULT SYSTIMESTAMP);

Alter your trigger to incude an update of the times_fired column.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Mon Feb 13 2006 - 11:31:47 CST

Original text of this message

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