![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi! For my project I need a history of all changed recordsets of one or more tables. If I change one record, the old one should be in the history. I have two choices. First of all to do it with my application. Well, I think that is a bad idea, because I have to do addional SQL Statements and when the scheme changes, I have to recompile some parts of my application. It sound like a perfect Job for the Oracle DB. The second choice I have is to build trigger and do it this way. But actually I have to do it again when I have to change the scheme. I wonder if it is possible to let Oracle create a history on itself. I read nearly a week about Redo Log. It seems that Oracle should know everything to create a history of all changes that has affected the scheme. Does anyone know if this is possible to create a history of all changes and showing the corresponding records. And then how I could do that? Thanks, Danny |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi! Thx for your answers. Well, I work with 10g and there will be at most one transaction every minute. I need the historyfunvtion one a regular bases nearly one or twice a month. Their want to get an overview over all changes that had be done on a table and an overview of all old records. So the new one will be in the regular database, while the history should show all the old records. It like saving the current record in a separate table and than apply the changes. First I have to check the two last suggestion from Brian. But I am open for every another possibility to make that happen. Greetings, Danny |
![]() |
| Thread Tools | |
| Display Modes | |
| |