RE: Trigger Help

  • From: "Burton, Laura" <BurtonL@xxxxxxxxxxx>
  • To: "rjamya" <rjamya@xxxxxxxxx>
  • Date: Thu, 18 May 2006 06:49:54 -0500

I guess it is knowing the terminology and where to look.  That was my
question, 'where is the info?'.  The sad thing is that support has had
this for a week now and you answered the question immediately.

Thanks for the info.

Laura

-----Original Message-----
From: rjamya [mailto:rjamya@xxxxxxxxx] 
Sent: Thursday, May 18, 2006 6:43 AM
To: Burton, Laura
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: Trigger Help

what I fail to understand is why would you use aud$ table when all the
information you need is available inside the trigger?

check
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg1
4evt.htm#1004237

this approach might help.
Raj

On 5/17/06, Burton, Laura <BurtonL@xxxxxxxxxxx> wrote:
>
> Now I have a problem though and can not find the answer.  The trigger
is an
> 'AFTER GRANT OR REVOKE ON SCHEMA' trigger.  In the trigger I am
reading the
> sys.aud$ table to capture the info (since auditing is turned on the
> database).  The problem is that the record has not been written to the
> sys.aud$ when the trigger fires so it is getting the previous
grant/revoke
> record.  On a dml trigger you would use new.tablecolumn to check the
> information.  What tablecolumn name do I check on a dml trigger?  I
tried
> using the sys.aud$ columns but that did not work of course.
>
--
//www.freelists.org/webpage/oracle-l


Other related posts: