This script was accurate for 8.0.6, haven't tried it in 8i.
column obj_name format a30
select obj_name, to_char(timestamp,'MM-DD-RRRR HH:MI:SS'),
decode(ses_actions,
'---S------------','DELETE',
'------S---------','INSERT',
'---------S------','SELECT',
'----------S-----','UPDATE',
'---S--S--S------','DELETE/INSERT/SELECT',
'---S--S--SS-----','DELETE/INSERT/SELECT/UPDATE',
'------S--S------','INSERT/SELECT',
'------S--SS-----','INSERT/SELECT/UPDATE',
'---------SS-----','SELECT/UPDATE',
'UNKNOWN')
from dba_audit_object where owner in ('VGN','PCAT60')
order by 2 ;
TAG DBA wrote:
>
> I enabled "all" auditing on a table. After doing a select, insert and delete I have
>one row in dba_audit_object which shows the following for ses_actions column:
> ---S--S--S------
> I know that I have to tie this up with audit options in dba_obj_audit_options to get
>a more readable report like :
> Object TEST was SELECTED, INSERTED etc etc
> I am planning to use decode and some string functions to test for "S" in the above
>string and determine whether a certain action happenned or not.
> Does anyone have any better ideas (or better still a read made script ? :-)
> Regards,
> dbatag
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: TAG DBA
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Suzy Vordos
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).