can u apply SCD2 on flat file tgt? if yes wat is the procedure?

Answers were Sorted based on User's Feedback



can u apply SCD2 on flat file tgt? if yes wat is the procedure?..

Answer / subhash

No, you can't apply SCD2 on flat files.

Is This Answer Correct ?    35 Yes 6 No

can u apply SCD2 on flat file tgt? if yes wat is the procedure?..

Answer / guddu kumar mehra

We can not update a record in a flat file as we need a Key column to update the record but in flat file we can not have a key column.
So we can not implement SCD type 2 on flat files.

Is This Answer Correct ?    8 Yes 1 No

can u apply SCD2 on flat file tgt? if yes wat is the procedure?..

Answer / rajesh aitha

Yes, I can

Let’s go head implementation

Understanding: In SCD2 we have 3 steps
1. Identify new record and insert as new record
2. Identify Updates in target and insert it as new record
3. Update the updated records to makes end date as system date

Process of implementation:
Step1: Generate 3 files as described above
Step2: The file to update is available and we have surrogate key of each row as well , use a script to Fetch the surrogate key to separate temporary file, Delete these rows from main file and keep it as separate file with appended field Last updated date at extreme right side of the file
Step2: So here we have 2 new files created for with new records as inserts, 1 file with updates. Now keep adding these 3 files to the mail file one by one in sequence.


What do you think?

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More Informatica Interview Questions

To import the flat file definition into the designer where should the flat file be placed?

0 Answers   Informatica,


COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1

0 Answers  


If we are using an aggregator but forget to mention the group by port .what will be the output??

11 Answers   Nomura, TCS,


How do you recover rows from a failed session

1 Answers  


What is transformation?

0 Answers  






(Integ) Start workflow: ERROR: User [practice] does not have sufficient privilege for this operation. how to solve this pls suggest me? THANKS in advance

1 Answers  


guys which is the best institute in banglore to learn informatica??

2 Answers  


What is primary and backup node?

0 Answers  


What is the Hierarchy of DWH?

1 Answers  


What are the mapings that we use for slowly changing dimension table?

2 Answers  


Briefly describe lookup transformation?

0 Answers  


How can you join 3 tables? Why cant you use a single Joiner to join 3 tables.

1 Answers  


Categories