Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 07 May 2009 @ 13:46:00 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Triggers use to record Audit Data
 
From:   Padarthi, Hanumath

Hi,

What is the robust way to record Audit data in TeraData. I have a requirement any changes to data shall be traceable. Changes to the data is not much frequent. Triggers handy...?

1. Create a separate table and use the trigger to insert the data.

2. Create a separate table and use the insert statement whenever user made changes to existing data.

3. Use the same table and creates a new record with the new data on each change and mark the old data with the updated date and time.


Appreciate your thoughts..?


Regards,

Kumar.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016