dbTalk Databases Forums  

can I audit a truncate on a specific table in Oracle8?

comp.databases.oracle comp.databases.oracle


Discuss can I audit a truncate on a specific table in Oracle8? in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
xanuda
 
Posts: n/a

Default can I audit a truncate on a specific table in Oracle8? - 09-10-2004 , 02:09 PM






Hi all:

I want to audit a truncate command on just three tables in a database.
I have been reading ORacle manuals and books, but I can't see how to do that,
I can turn on auditing for ALL truncates on ALL tables, but that will be
too much info (and overhead). Is there a way to do auditing on a truncate
on a specific table(s) only?

thanks

Gene

Reply With Quote
  #2  
Old   
Js
 
Posts: n/a

Default Re: can I audit a truncate on a specific table in Oracle8? - 09-12-2004 , 04:47 PM






Hi,

If you are using 9i then you can create a trigger of truncate event.
And maintain a log for this activity.


Thanks,
Js

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.