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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a staging area? What is the purpose of a staging area?

675


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

1715


What is data cleaning?

713


What is fact? What are the types of facts?

705


What is staging area referring to?

766


please tell me any easy ways of testing the Data warehouse project. In my project we are not using any tools for ETL. we are writing scripts in SCRIPTELLA. And we using Pentaho tool for Reporting How can i test all these. please tell me ASAP. thanks in adavance

2243


how do u estimate the depth of the session scheduling queue? Where do u set the number of maximum concurrent sessions that Informatica can run at a given time?

2625


What is full load & incremental or refresh load?

943


what is data modeling?

1636


What are the three tiers in etl?

777


HI, Anybody is having informatica Dumps,if it there Can u send to my mail id :sathesh.cool@gmail.com

1811


Explain about round-robi?

850


How can we use external procedural logic in informatica?

703


How to delete data which is not in source table?

1021


What are the steps involved in etl process?

705