if i am having 10 records in source, i want 20 records in
target...how will you do it




Answers were Sorted based on User's Feedback



Answer / abhishek kumar

create one instance of target.
means we take two target(same) his name is different but
table is same.
src->sq->tgt101
|->tgt102
after session run we check
select * from tgt ;
it will will merge the output of tgt101 and 102 and give
result in one tgt table.

Is This Answer Correct ?    6 Yes 2 No

Answer / reddy

Create two target instances,and connect sq to two instances.
Then we will get desired output...

Is This Answer Correct ?    5 Yes 1 No

Answer / chandra

use union TR we get it...
source---->SQ-->UNION-->TRRGET
HEERE
in union TR take 2 input groups and drag source to 2 input
groups and drag union output ports to tatget

Is This Answer Correct ?    5 Yes 1 No




Answer / guest

Connect the target table twice.

Is This Answer Correct ?    6 Yes 3 No

Answer / gyana

pls friends try this..its easy and flexible
--------------------------------------------

SOURCE ---->SOURCE QUALIFIER------->TARGET

IN SQ WRIT THE SQL QUERY
------------------------
SELECT * FROM EMP
UNION ALL
SELECT * FROM EMP WHERE ROWNUM<11


PLS LET ME KNOW IF I AM WRONG

Is This Answer Correct ?    4 Yes 2 No

Answer / priyank

Take 2 instances of the same source and join them using
Union transformation which acts as the UNION ALL command of
SQL i.e. it allows duplicates too.

Is This Answer Correct ?    0 Yes 0 No

Answer / kamleshmishra291

user following code in java transformation
for( int i=0;i<2;i++)
{
output_port 1=input port 1;
output_port n=input port n;
generateRow();
}

Is This Answer Correct ?    0 Yes 0 No

Answer / jz

drop unique constraint in target table and select only
insert in session target properties run the session twice.

Is This Answer Correct ?    2 Yes 3 No

Answer / sateesh a

run the session twice.

before running the session disable the target truncate load
option and disable the distinct option in target.

Is This Answer Correct ?    1 Yes 2 No

Answer / subbu

U can run job two times, and u can put append option in target.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More Informatica Interview Questions

Insert else update option in which situation we will use

4 Answers   HCL,


what is constraint based loading

2 Answers   IBM,


select count(1) from emp? what is the o/p?

5 Answers   TCS,


when will we use unconnected & connected lookup? How it will effect on the performance of mapping?

5 Answers   Accenture,


Transformer is a __________ stage option1:Passive 2.Active 3.Dynamic 4.Static

2 Answers   Accenture,


Can we update a target table (without primarykey) by using update strategy transformation?

4 Answers   TCS,


Hi 2 every one. i dont have real time experience, and please suggest me for following questions. a) we get the source data from what type of source systems? b) In banking domain project what are the FACT & DIMENTION tables please list out them? c) please write some colomn names in a table? Please reply for aboue questions?..... Thanks in advance.

1 Answers   Amdocs,


in performance wise union is past,union all is past

2 Answers  


I have been working in Informix-4gl for the past 2 years in an MNC company.But I'm interested to work in Business Intelligence tools. Is it possible to change the technology now? I'm really confused, please help me

1 Answers  


how to join the 2 different table with different columns in informatica?

5 Answers   Accenture,


What is surrogate key?

9 Answers  


How to display null values on a target & non-null values on a target?

3 Answers  




Categories