On a day, I load 10 rows in my target and on next day if I
get 10 more rows to be added to my target out of which 5 are
updated rows how can I send them to target? How can I insert
and update the record?

Answers were Sorted based on User's Feedback



On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / james

Hi Guys,

For the above req. we can't use SCD 1 or 2 or 3.
Bcoz for scd1 it inserts the new record and updates the
updated record.And here we wont be having any updated
records only new records will be there.

So according to me,the best option for the above scenario
is go with Incremental aggregation.

Please let me know if you have suggestions regarding this.

Thanks,
James.

Is This Answer Correct ?    1 Yes 0 No

On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / sid

take a look t/f and a update strategy t/f. basing on look
up , if the record exits in target then reject it ,if not
exit insert it,and if the record exist but it is changed
then update it

Is This Answer Correct ?    1 Yes 1 No

On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / animesh

I think what u can do is u can create a mapping by using
mapping wizard and apply SCD 2 as in SCD u can get historic
data while in SCD one u can onlly get the latest data.

create a mapping using SCD 2
Give the source and target tables.
Give the fields on which u want to implement the history
logic and then just complete the wizard.

the mapping will be created which will have 3 Update
strategy transformation which is basically one for insert
only flow, one for insert and update flow. and one for
insert and update flow also the previous records available.

The other transformations presented in mapping are in the
below manner.

Source --->> SQ --->>> Seq Gen --->>>> Lookup (For target
table lookup)--->>>>> Update Strg (3 nos) ---- >>>> Exp
Tr ---->>>>>> Target table.

Hope this will give you the clear understanding. guys
please correct me if i missed some thing.

Is This Answer Correct ?    2 Yes 2 No

On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / rohan

Here the requirement is to update the existing record and insert the new record. Its nothing but SCD1

Is This Answer Correct ?    1 Yes 1 No

On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / prasad

use scd3 concept or use scd2 concept

Is This Answer Correct ?    1 Yes 2 No

On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my targe..

Answer / sasi

the best way to do this use the slowy changing dimension in
the mappings-->wizzard-->slowly changing dimension-->type1

here u need to select the source and target tables.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Informatica Interview Questions

Differentiate between Load Manager and DTM?

0 Answers  


What is the difference between stop and abort in informatica

0 Answers   Informatica,


In informatica workflow manager, how many repositories can be created?

0 Answers  


How to do Integration testing in Informatica?

5 Answers   Intelligroup,


we have a parameter file in Unix location where we have .txt files and those file will be used as source in informatica. I cannot use source file name directly as file name will keep on changing in unix location. I need to define $$InputFile as parameter. Can anybody send me the parameter file and the steps to handle this.

2 Answers   Infosys, TCS,






How to do the error handling of if ur source is flatfiles?

0 Answers  


What is factless fact schema?

1 Answers  


What is the way to execute pl/sql script using informatica mapping?

0 Answers  


what is DSS?

3 Answers  


How many repositories can be created in informatica?

1 Answers  


in my lookup table i want to catch the recently updated records from the source to target,how to achieve this and what is last commit interval point for this?

2 Answers   Thomson Reuters,


Can we change Dynamic to Static or Persistent cache? If so what happens?

0 Answers   TCS,


Categories