Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

In informatica, I have 10 records in my source system. I need to load 2 records to target for each run. How do I do this?

933


How to fine tune mappings?

942


Can there be sub steps of etl steps?

1028


explain the methodology of Data Warehousing?(Polaries)

2294


Define Dynamic push down optmization?

2306


Mention few test cases and explain them?

929


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

885


what make u disappointmnets in u r career

2197


SCD2 will work on only dimension tables as well as fact Table?

1401


flat filevalidation in informatica

2155


what is the use of structures?how many nodes can u create in a structure?

2239


How can we use external procedural logic in informatica?

924


how do u identify the changed records in operational data?

2527


What is data modeling and data mining?

975


where are the log files generally stored.Can you change the path of the file.what can the path be?

2441