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 / 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 / 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 |
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 |
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 / 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 |
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.
Can we override a native sql query within informatica?
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?
Router T/R is active but some people are saying it is also passive which is exactly right?
What is A cache?
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.
What is the different lookup cache(s)?
How you count the number of records available at your source?
what is worklet and what use of worklet and in which situation we can use it?
What could be the possible resons of locks by user?
difference between shortcut and reusable transformation?
When do you use mapping parameters? (In which transformations)