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

list and discuss two approaches for updation of target table in Informatica and how they are different.

0 Answers  


What are the types of Data Warehouse applications?

0 Answers  


how does the server recongnise the source and target databases.Elaborate on this

0 Answers   Accenture,


what are Lookup caches options? Including persistent caches.

0 Answers  


tell me few points when u become TL

0 Answers   Infosys,






Eliminating of duplicate records without using dynamic lookups

3 Answers  


we hava a flat file having more than 1000 records and two targets. i have to write first half of the rows into first targets and next half of rows into second target. how can i do in informetica??

1 Answers  


flat filevalidation in informatica

0 Answers   Hewitt,


IN Informatica, I have 10 records in my source system. I need to load 2 records to target for each run. how to perform.please let me know. I know by using Mapping variable we can perform but how to load please any one explain.

3 Answers   TCS,


how would u estimate the size of Aggregator transform data and index cache?

0 Answers  


How to Check the source record count from traget table.

5 Answers   IBM,


how do u extract data from different data sources explain with an example?

0 Answers  


Categories