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: AUDIT sql command question

RE: AUDIT sql command question

From: Alvaro Jose Fernandez <alvaro.fernandez_at_sivsa.com>
Date: Wed, 15 Aug 2007 15:25:40 +0200
Message-ID: <607D6181D9919041BE792D70EF2AEC481CFF95@LIMENS.sivsa.int>


Lyndon,
are you commiting the updates?

Jaust to check: in the same UPDATE session, before the updates, do an

alter session set events '10046 trace name context forever, level 8'; (to trace all ops )

Do the updates, finish the session, and then see the tracefile generated, and look for entries regarding sys.aud$ .

         "To audit occurrences of a SQL statement, you must have AUDIT SYSTEM system privilege."

--
   

If I did not have audit any priv, would this sql have failed?

audit update table;

I ran this command successfully:

SQL> audit update table;

Audit succeeded.

--

Lyndon Tiu
--

http://www.freelists.org/webpage/oracle-l Received on Wed Aug 15 2007 - 08:25:40 CDT

Original text of this message

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