source table have 3 records? and it is sucessfully loaded
into target. and 4more records is added in to source .that
means 7 records now in source. we have to load the
remaining 4 records into the same trgt table with maintian
top 3 records. how ?can any one give me the data flow of
this logic plz?

Answers were Sorted based on User's Feedback



source table have 3 records? and it is sucessfully loaded into target. and 4more records is added ..

Answer / ap

Use the target table as lookup and check for the existance
of the rows from source in the lookup. If the row already
exists then ignore and only pass the new rows to the target.

Is This Answer Correct ?    18 Yes 3 No

source table have 3 records? and it is sucessfully loaded into target. and 4more records is added ..

Answer / vinod

Use Update Strategy Transformation. Identity an unique
field or an unique combination which is the primary key.
Check the primary key field or combination field in Update
stratergy based on which the target is updated. If the key
from the source matches with the target key field, then
these rows not inserted into the target, else it gets
inserted

Correct me if I am wrong

Is This Answer Correct ?    11 Yes 0 No

source table have 3 records? and it is sucessfully loaded into target. and 4more records is added ..

Answer / kishore

Hi this will do by using INCREMENTAL LOADING.
We should delete records on staging area by using presql on
target(staging).
now staging having only new records..

Is This Answer Correct ?    2 Yes 8 No

source table have 3 records? and it is sucessfully loaded into target. and 4more records is added ..

Answer / ora_001

Can we use merge here ?

Is This Answer Correct ?    0 Yes 6 No

source table have 3 records? and it is sucessfully loaded into target. and 4more records is added ..

Answer / ajit

just give truncate table option in session properties of
target table.if you dont want to delete the old records and
load from 4th record onwards then you have to use sequence
generator and filter give key>=4

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Informatica Interview Questions

How do you load alternate records into different tables through mapping flow?

0 Answers  


Suppose we have a csv file with contents as below which is used has a source file. C1,C2,C3,C4 100,200,A B,300 200,400,X,Y,299 ---> it should be 4 values but by mistake 300,600,C D,566 with a comma in between X & Y,its 5. My target takes only 4 columns, How to take care of the 2 record as above without rejecting it and loading in the target. Hope u guys have understood my scenerio

4 Answers   IBM,


Work flow failed when it is set to Bulk mode but it was successful when set to normal mode y??(All the connections are fine and exactly correct)?

11 Answers   Wipro,


What is domain and gateway node?

0 Answers  


I am hvaing SOURCE as 1000,null,null,null null,2000,null,null null,null,3000,null null,null,null,4000 Now i want the OUTPUT as 1000,2000,3000,4000 For more clarification i want to elimate nulls and want in a single line. Please help me out

5 Answers   IBM,






What is depict expression change?

0 Answers  


In router source is a boy age 20 I given 3 conditions in router a>20, a<=20, a=20 which one exit first?

3 Answers  


write a query row to column follwing source? quarter sales q1 5000 q1 9000 q1 7000 q1 6000 q2 5000 q2 4000 q2 3000 q2 1000 q3 4000 q3 3000 q3 1000 q3 2000 q4 5000 q4 400 i want the output? q1 q2 q3 q4 sales

3 Answers   Cognizant, Flextronics,


Suppose we have two source qualifier transformations sq1 and sq2 connected to target tables tgt1 and tgt2 respectively. How do you ensure tgt2 is loaded after tgt1?

0 Answers  


What are the tuning techniques you applied during your last project

0 Answers  


which one is better either active or passive transformation in informatica

1 Answers  


&#61656; Suppose you have n no.of records @ your flat file and you have seen some of records are missing while reaching to the destination. How can you trouble shoot it?

2 Answers   DELL,


Categories