Hi all.
I would like to capture all data changes made in a DB2 database into a single DB2 table, i.e., Inserts, Deletes, and Updates. I'm using DB2 V8.2 (FP 14) for windows 2000 Pro.
Are there any built in functions I could use to accomplish this?
The layout of 2 tables is as follows:
Table_A
|COL_1_Key1 | COL_2_Key2 | COL_3 | COL_4 | COL_5|
History_Table
|Before_Ind | Table_A | TableVersionNum | COL_1_Key1, COL_2_Key2, COL_3, COL_4, COL_5|
|After_Ind | Table_A | TableVersionNum | COL_1_Key1, COL_2_Key2, COL_3, COL_4, COL_5|
Thanks in advance for any help.
I would like to capture all data changes made in a DB2 database into a single DB2 table, i.e., Inserts, Deletes, and Updates. I'm using DB2 V8.2 (FP 14) for windows 2000 Pro.
Are there any built in functions I could use to accomplish this?
The layout of 2 tables is as follows:
Table_A
|COL_1_Key1 | COL_2_Key2 | COL_3 | COL_4 | COL_5|
History_Table
|Before_Ind | Table_A | TableVersionNum | COL_1_Key1, COL_2_Key2, COL_3, COL_4, COL_5|
|After_Ind | Table_A | TableVersionNum | COL_1_Key1, COL_2_Key2, COL_3, COL_4, COL_5|
Thanks in advance for any help.