How can u insert o ne row in the target if that row does not
exists in the target and update if it exists
Answers were Sorted based on User's Feedback
Answer / sudhar
Use the session properties,
In Target Properties use options
Insert
update else Insert
Check boxes.
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / abhinav
By using an UPDATE STARTEGY transformation.
DD_UPDATE = If the record alreadye exists
DD_INSERT = If the record is a new one
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / sailu
Do look up on the target with the key values. Check if the
look up is null or not. If look up value is null insert it
and if look up value is not null update it using update
strategy transformation with DD_UPDATE
| Is This Answer Correct ? | 1 Yes | 0 No |
Hi Sudhar,
Please check your answer it is not working....
We can use the SCD type 1 only get the new row as insert
into target and updated record as update into target.
If it wrong means please mail me.. chandranmca2007@gmail.co
| Is This Answer Correct ? | 0 Yes | 0 No |
How could we generate the sequence of key values without using sequence generator transformation in the target ??
12 Answers TCS, Tech Mahindra,
How to extract the informatica rejected data?
i have one source 52 million records i want target only 7 records ?how wil you do what logic to implement?
what is surrogate id ?
What are Dimensional table?
If a session fails after loading of 10,000 records in to the target. How can you load the records from 10001 th record when u run the session next time?
SO many times i saw "$PM parser error " .what is meant by PM?
can every transfomation reusable?how?
how to join the two flatfiles using the joiner t/r if there is no matching port?
How can you define user defied event?
my sourse is like id name sal--1 aa 1000 ,2 bb 2000, 3 cc 3000 4 dd 4000, 5 ee 6000 , 6 ff 7000 and so on but myrequirement is like this id name sal up_sal,1 aa 1000 null,2 bb 2000 1000, 3 cc 3000 2000 4 dd 4000 3000, 5 ee 5000 4000 , 6 ff 6000 50000 and so on so how can i get it plez reply for this as soon as possible , thanks in advanced
what is parameter file?