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



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

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

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

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

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

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

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

Answer / guest

Connect the target table twice.

Is This Answer Correct ?    6 Yes 3 No

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

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

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

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 ?    1 Yes 0 No

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

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

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

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

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

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

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

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

What is mapplet and a reusable transformation?

2 Answers  


According to his methodology what all you need before you build a datawarehouse

0 Answers  


what is mystery dimension?

1 Answers  


Have you worked with/created Parameter file

0 Answers  


How to display last 5 records in a table ? With out Top key word and doing order by desc Advance thanks

2 Answers   Puma,






How can u stop a batch?

2 Answers  


is it reqire primary key and foreign key relation ship to join relational databases?if yes? explain?

3 Answers   IBM,


write sql query following table amount year quarter 1000 2003 first 2000 2003 second 3000 2003 third 4000 2003 fourth 5000 2004 first 6000 2004 second 7000 2004 third 8000 2004 fourth i want the output year q1_amount q2_amount q3_amount q4_amount 2003 1000 2000 3000 4000 2004 5000 6000 7000 8000 can anybady help me to achieve the aboue result by using informatica. thanks in advance.

5 Answers  


To import the flat file definition into the designer where should the flat file be placed?

0 Answers   Informatica,


What are the informatica performance improvement tips

0 Answers   Informatica,


What is synonym?

2 Answers   Patni,


What is the procedure for creating independent data marts from informatica 7.1?

0 Answers  


Categories