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 Help

RE: Trigger Help

From: Burton, Laura <BurtonL_at_frmaint.com>
Date: Thu, 18 May 2006 06:49:54 -0500
Message-ID: <B5E0B4818A669C49A9C22199D9C389F806B1DBAC@MAIL.frmaint.com>


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_at_gmail.com]
Sent: Thursday, May 18, 2006 6:43 AM
To: Burton, Laura
Cc: oracle-l_at_freelists.org
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_at_frmaint.com> 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.
>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu May 18 2006 - 06:49:54 CDT

Original text of this message

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