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
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 |
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 |
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 |
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 |
What is a command that used to run a batch?
What is the difference between procedure and stored procedur?
write sql query following table city gender no chennai male 40 chennai female 35 bangalore male 25 bangalore female 25 mumbai female 15 i want the required output city male female chennai 40 35 bangalore 25 25 mumbai 15
What is a unit Testing?
How to Create a folder using pmrep command?
i having source, router transformation, two targets in my mapping... i given two conditions in router 1)sal >500 2)sal < 5000 --------------- my source is havig two sal records (1)1000 (2)2000 then which target will load first? will both targets are get load or single target only get load...... why?
can we use union transformation in joiner transformation?how?
1 Answers Dabur, Tech Mahindra,
How to delete duplicate row using informatica?
Why we use partitioning the session in informatica?
Explain grouped cross tab?
explain one complex mapping with logic? sales project?
0 Answers Accenture, JPMorgan Chase,
I have 2records in target table and this record is deleted in source. Now if I run mapping twice how many records do target will have, source having 10records. Same with incrementally. Please answer me ASAP.