Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Audit Drop Table

Satish Kumar SadhuJun 27 2013 — edited Jun 27 2013

Dear experts,

we are  having a very important table on 11g database so we would like to record that table droping information.

I tried by issueing below commands but no luck. Could you please help me how shall I enable audit for dropping table if I can enable by using only Trigger please provide the trigger code.. Thanks for yoru help.

 

audit drop table owner.table by session; --not working

audit create table by username; --executing the statement bur there is no result --checking in dba_audit_trail

audit drop any table;        --executing the statement bur there is no result --checking in dba_audit_trail

Out Audit parameter details..

SQL> show parameter audit;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest                      string      /path
audit_sys_operations                 boolean     FALSE
audit_syslog_level                   string
audit_trail                          string      DB
SQL>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2013
Added on Jun 27 2013
2 comments
11,830 views