we have 1 source table containing 100 records. now we have
to transfer first set of 1-10 (i.e1-10) records to one
target table and another set of 1-10(11-20) records to
other target table and continue like that till 100th record

Answers were Sorted based on User's Feedback



we have 1 source table containing 100 records. now we have to transfer first set of 1-10 (i.e1-10)..

Answer / zslstar

we can use the sql below to indicate the rownum.
then router the data according to the rownum from upstream.

select t.*,rownum rn from test t
where mod(floor(t.rn/10),2) =0 --get the rows whose rownum
between 1~9,20~29,etc.

Is This Answer Correct ?    11 Yes 1 No

we have 1 source table containing 100 records. now we have to transfer first set of 1-10 (i.e1-10)..

Answer / swetha

we can use sequence generator with cycle for that

Is This Answer Correct ?    4 Yes 3 No

we have 1 source table containing 100 records. now we have to transfer first set of 1-10 (i.e1-10)..

Answer / kvikas2056

Use seq. Generator to create sequence or you can use expression transformation to create sequence, then in router transformation create 10 group and give conditions like seq >1 and seq <11, seq>11 and seq <20 etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ETL Interview Questions

When you have 2 servers in two different time zone and if you need to extract data from 1 server and load it in another server, how do you go about it? Best method to be used.

3 Answers  


In Which Transformation We Can Use Having Clause In Informatica?

0 Answers  


Hi can anyone write query for the below input and output Table 1 col 1 100 Null 200 300 Table 2 col1 Null 400 700 800 o/p 200 700 800 2)sql col 1 contains 23x-5-45 26x-12-45 28x-10-50 o/p middlevalue should be greater than 10

0 Answers   Cap Gemini,


When do we use dynamic cache and static cache in connected and unconnected lookup transformations? Difference between stop and abort

0 Answers  


Hi please try to reply with answer. my mail id is raghu.1028@gmail.com. if the source is having millions of records, but having theree target tables. As per user the first record need to insert into first target and second record in to a second target and third into third target, similarly the process needs to repeat?

5 Answers  






Which transformation we use to convert 'NA' to 'Not Available'

0 Answers  


can Informatica be used as a cleansing tool? If yes, give examples of transformations that can implement a data cleansing routine.

0 Answers  


if u can't find what you are looking for in lookup table, how do you handle?

1 Answers  


Mention few test cases and explain them?

0 Answers  


I have two tables in two different database, so to join these tables which transformation will be better joiner transformation or lookup transformation?

2 Answers   Accenture, Saama Tech, TCS,


can be used COM component in Informatica ?

0 Answers  


what are the facilities provided by OLAP to analytical users?

1 Answers  


Categories