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 |
HOW TO JOIN THE 2 FLAT FILES WITHOUT USING JOINER AND LOOKUP?
If u select groupby port in aggregator what is output and dont select groupby option what is output
Define Incremental Aggregation?
If one flat file contains n number records., we have to load in target from 51 to 100.. how to use expressions in Informatica..?
explain the scenario for bulk loading and the normal loading option in Informatica Work flow manager ???
if i have a file having record sal=10000,and when use router with two groups having condition sal>5000 in one group,sal>7000 in other group.and if two groups connected to two targets.in which target sal=10000 will go?
9 Answers BirlaSoft, Genpact, L&T, Syntel,
Why touse stored procedure in ETL Application?
Tell me how many tables used in Ur project and how many fact tables and dimension tables used in ur project
Target increases every day even though no new record was inserted
What is the use of target designer?
How to write a procedure for a date which is in three different formats,and you want to load into datawarehouse in any single date formate
How you count the number of records available at your source?