user audit table clean up

  • From: "Xu, Roger" <Roger.Xu@xxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 25 Feb 2009 15:35:40 -0700

Hi List,

What is the best way for me to clean up the user audit table?
For each user, we only need to keep the last record.

USER_ID                        LOGON_TIM
------------------------------ ---------
TSDBA                          25-NOV-07
TSDBA                          26-NOV-07
...
TSDBA                          11-FEB-09
TSDBA                          25-FEB-09
TSDBA                          25-FEB-09
TSDBA                          25-FEB-09 (last record)

Thanks,

Roger Xu

 
http://www.drpeppersnapplegroup.com/about/corporate to learn more about Dr 
Pepper Snapple Group’s commitment to corporate social responsibility.

Please be conscious of the environment and print this email only if absolutely 
necessary. 
This e-mail (including any attachments) is confidential and may contain 
privileged information of Dr Pepper Snapple Group, Inc. and/or its subsidiaries 
("Dr Pepper Snapple Group"). If you are not the intended recipient or receive 
it in error, you may not use, distribute, disclose or copy any of the 
information contained within it and it may be unlawful to do so. If you are not 
the intended recipient, please notify us immediately by returning this e-mail 
to us at mailto:mailerror@xxxxxxxx and destroy all copies. Any views expressed 
by individuals within this e-mail do not necessarily reflect the views of Dr 
Pepper Snapple Group. This e-mail does not constitute a binding offer, 
acceptance, amendment, waiver or other agreement, unless the intent that an 
e-mail will constitute such is clearly stated in the body of the email. 
Recipients are advised to subject this e-mail and attachments to their own 
virus checking, in keeping with good computing practice. Please note that 
e-mail received by Dr Pepper Snapple Group may be monitored in accordance with 
applicable law.
--
//www.freelists.org/webpage/oracle-l


Other related posts: