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 |
I have the source like col1 col2 a l b p a m a n b q x y How to get the target data like below col1 col2 a l,m,n b p,q x y
While using update strategy in the mapping which gives more performance, a flat file or Table? Why? What are the advantages and disadvantages?
what happens when a batch fails?
Define sessions in informatica etl?
What is the Difference between DSS & OLTP?
source target --------- -------- name no sal name no sal max_sal r 10 1000 r 10 1000 3000 y 20 3000 y 20 3000 3000
Define maping and sessions?
What is log file,and where is it located,why u r using the log file
What is a command that used to run a batch?
how to sort date field in infomatica?
what is diffrence b/w joner and union transfermation
What will be the approach?