select * from emp where sal>(select min(sal) from emp) how
to implement the same in informatica ?

Answers were Sorted based on User's Feedback



select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / chandra mouli

In Mapping take two transfermations.
1.aggrigate transfermation
2.filter transfermation.
in aggrigate add one output port is minsal
minsal=MIN(SAL).next in filter condition SAL > minsal.

next link the ports to target.

Is This Answer Correct ?    8 Yes 3 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / guest

Hi,

Use the lookup on emp table .Override the lookup Query
(select min(sal) from emp. Connect the empno port and min
(sal) port to exp. Fetch all the rows from emp table to
exp, then connect to filter give condition sal> min(sal).

Is This Answer Correct ?    3 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / cmanojkumar

Hi,
Thanks for your answer.
If we take this in single pipeline it will not allow us to
connect aggregator transformation and source qualifier
transformation to target transformation
Because we can't combine two active transformations to
another transformation.
I would like to know these rules. Can any on tell me why
can't we combine active and active ?

Is This Answer Correct ?    1 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / rudra

SQualifier --> Sql Query -->select * from emp where sal>(select min(sal) from emp) -->Apply-->OK -->connect to TGT table (save it)
## Create wf and ssn then run it

Is This Answer Correct ?    0 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / chiranjeevi.madam

The above answer is correct. But, the aggregated value should be found in one pipeline and the filter should be in another pipeline both coming from source qualifier or previous t/r.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Informatica Interview Questions

What is union transformation in informatica?

0 Answers  


for ex: in source 10 records are there with column sal. use a filter transformation condition as Sal=TRUE and connect to target. what will happen.

11 Answers   Accenture,


Please explain in detail with example about 1.Confirmed Dimension. 2.Junk Dimension. 3.Degenerated Dimension. 4.Slowly changing Dimensions

4 Answers   IBM, Infotech,


how i will stop my workflow after 10 errors

1 Answers   HP,


hi,there is a scenario like. there are three columns empid,salmonth, sal contains the values 101,jan,1000 101 feb 1000 like twelve rows are there then my required out put is like contains 13 columns empid jan feb marc.......dec and the velues are 101 1000 1000 1000 like this . thank you

5 Answers   Patni,


What is a dimensional model?

0 Answers  


How many ways you create ports?

1 Answers  


I want expect first and last record remaining all records will be loaded into target? which transformations we can use?

6 Answers   Cap Gemini, CTS,


Is there any model difference between ODS and DWH

2 Answers   Zensar,


can we load the data with out a primary key of a table? what is target plan?

6 Answers   IBM,


How will restrict values in 0-9 and A-Z and a-z and special character.Only allowed these chars otherwise we will reject the records? what is the function we used to restrict...

3 Answers   Cap Gemini,


how to improve performence by using sorted input in aggrigator t/r.

2 Answers  


Categories