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

I have 4 columns in a table say, name ,address, salary and city. So based on distinct city names, i need to combine the other data and send it to a flat file. Distinct city names can be 4 or 5 or 6. So it has to dynamically generate flat files(4 or 5 or 6) corresponding to the city names.

2 Answers  


Can we override a native sql query within informatica?

0 Answers  


Source Qualifier is an active t/r but there is no change of row count then y should we called it active t/r & Router , sorter some times no change in row count then Y we called its active t/r?

2 Answers  


Router T/R is active but some people are saying it is also passive which is exactly right?

5 Answers  


What is A cache?

2 Answers  






If source is having 5000 rows,and if you want to load data into 500 rows to target,if the session runs successfully,how can you verify the target if the rows are successfully loaded or not.

3 Answers   IBM, TCS,


What is the different lookup cache(s)?

0 Answers  


How you count the number of records available at your source?

3 Answers   Zensar,


what is worklet and what use of worklet and in which situation we can use it?

4 Answers   Patni, TCS,


What could be the possible resons of locks by user?

0 Answers  


difference between shortcut and reusable transformation?

2 Answers  


When do you use mapping parameters? (In which transformations)

1 Answers  


Categories