Archives of the TeradataForum
Message Posted: Thu, 07 May 2009 @ 13:46:00 GMT
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..?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|