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 |
What are the different threads in DTM process?
what is the size of ur database(like oracle)
Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.
I want skip first 5 rows to load in to target? what will be the logic at session level ??
If a workflow stops or fails after loading 10k records ? How can you recover it and If there is no order while reading data from source ?
how we load the data from source to staging area
How will you convert rows into columns or columns into rows
if the column name in sql override is diff from the column name in source qualifier,what is the impact?
two types of data are there . one is mainframe and the other is ascii format . in informatica how can you get both the data in a single format in ascii .
followin source like region sales 1 100 2 200 i want the output following format region 1 2 sales 100 200
i have 50500 records in my source.if wf run for the first time it will load 1000 records into 1 tgt,if runs second time it will load to another tgt.targets are FF and it is need to be created dynamically.how many tgt will be created and how?
If we use only lookup transformation in a mapping ie, SourceQualifier-->Lookup --> Target. , here datas are taking very long time to load in target., so what are steps to improve the performance in that mapping???????