HI
1. There are two OLTP Source System tables Table1 and Table2_history . Please refer the following scenario
2. Case 1 : When a event with ID1 occurs a record gets inserted into Table1. When the event is cleared the record with ID1 gets deleted from Table1 and it gets inserted in Table2_History table.
3. Table2_History has the record with ID1 now.
3. Case 2 : There records remains in Table1 and does not get inserted into table2 till the event gets cleared for the particular record. I mean there are most of the records that are not present in Table2_history and not in Table1
The problem is that I am not able to join both tables based on their ID's. I need to move the information of both the Tables into destination (FACT) table. Since these are transactional tables so I need to create a FACT
Can anyone please suggest me how should I manipulate the data to move the data from both the tables present in the Source (OLTP DATABASE) to destination(DATAWAREHOUSE).
Thanks
- Edited by NEERAJ DUBE Friday, June 26, 2015 4:26 AM