NAME SAL MAXSAL
GANGA 30000 30000
RAJU 20000 30000
PAVAN 25000 30000
in mapping level how to achive that
Answers were Sorted based on User's Feedback
Answer / abhinav
step1:Pass on the source(name,sal) to an expression
create a dummy port and give the value as 1.
In the expression transformation, the ports will be
Step2:Pass only the salary port from source to aggregator
create a dummy port with the same data type as in expression
and give the value as 1
create an output port with Max(Salary)
In the aggregator transformation, the ports will be
Step3:Send the output from the 2 transformation to a joiner
Ensure you have checked the sorted input option.
Join both the transformation on the Dummy port.
Step4:Send the output to the target.
|Is This Answer Correct ?||9 Yes||0 No|
Answer / davankumar
select name,sal,(select max(sal) from t1) from t1
|Is This Answer Correct ?||1 Yes||0 No|
Answer / shekar
After source qulifier add a expression transformation in
the expression transformation create out put port name it
as maxsal then derive the code for this out put port as
Then pass the output ports from expression to target table.
|Is This Answer Correct ?||0 Yes||0 No|
Answer / pjr
in aggrigator create on new out_port max_sal=max(sal) then
give connection to tgt MXASAL
|Is This Answer Correct ?||0 Yes||4 No|
have u done any performance tuning? how u ll do?
What are the mapping paramaters and mapping variables?
There are two sessions are connected to the workflow. When the first session run load the data(employees data sum_salaries <= 1000000) into the target1. When the second session run load the data(employees data sum_salaries > 1000000) into the target2. How to achieve this?
explain one complex mapping with logic? sales project?
Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please help me . source row: abcabc Tgt table: abcabc abcabc abcabc abcabc
Repository user profiles
what is casual dimension?
difference between top down(w.h inmon)and bottom up(ralph kimball)approach?
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
I am using mapping variable, when i am running a session,before it has 10000 records, after completion of session what about value of mapping variable?
What is the difference b/w natural key and surrogate key
What is difference between Informatica 6.2 Workflow and Informatica Workflow 7.1