Hi Experts,
I have a source table like this.
Name Number
Raj 2
Ram 1
Sam 2
John 1
In the target I need the ouptput like the below
Raj
Raj
Ram
Sam
Sam
John
We dont know the number value . It will be changing as n..
Please help me regarding this.
Thanks,
Nataraj V
Answer Posted / ganesh kumar
BY USING QUERY OVERRIDE IN SOURCE QUALIFIER
TO WRITE THE QUERY LIKE THIS
T_TEST UR SOURCE TABLE, NAME AND N_NUMBER UR SOURCE TABLE
COLUMN.
USING THE LEVEL PSEUDOCOLUMN TO GENERATE THE DUMMY ID(LEVEL
L)AND USING THE QUERY(DUAL TABLE) AS A INLINE VIEW AND THEN
JOIN(NON EQUIJOIN) THE CONDITION. FINALLY WE GOT THE RESUL
select t.name,t.n_number from t_test t,(select level l from
dual connect by level <= (select max(n_number) from t_test))
u where t.n_number>=u.l order by t.name;
SAME LOGIC USED FOR OTHER THAN RELATIONAL SOURCE AND THE
TRANSFORMATION.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Differentiate between joiner and lookup transformation?
How many number of sessions can one group in batches?
tell me 5 session failure in real time how can you solve that in your project?
Which are the different editions of informatica powercenter that are available?
can we override a native sql query within informatica? Where do we do it? How do we do it?
In What Situations we can use MappingParameters ,Mapping Variables AND Session Parameters in REAL TIME.
What is fact table? Explain the different kinds of facts.
What do you mean by DTM and Load manager and what is difference between load manager and load balancer?
what is the end to end process meaning in my project(my project is development)and functionality plz tell me
What is the Process to creating lookup transformation in informatica
What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?
How can you generate reports in informatica?
What is the fact table?
What are the main features of Oracle 8i with context to datawarehouse?
Define pmcmd command?