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...

i have f;latfile source. i have two targets t1,t2. i want to
load the odd no.of records into t1 and even no.of recordds
into t2. what is the procedure and whar t/r's are involved
and what is the mapping flow

Answer Posted / sreekar

Hi,

Steps:-

1.Load ur source table into source analyzer.

2.generate the target tables.

3.in the maping designer take 2 filter transformations and
write these queries in each of the filter transformations

for even no of records:- select * from <tablename> where
(rowid,1) in (select rowid, mod(rownum,2) from <tablename>)

for odd no of records:- select * from <tablename> where
(rowid,0) in (select rowid, mod(rownum,2) from <tablename>)\

4. connect the output ports of this transformation to their
respective output tables.

Note:-
send your responses to suriaslesha_sreekar@yahoo.co.in

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create indexes after completing the load process?

1108


What is Cognos script editor?

4163


Sequence generator, when you move from develoment to production how will you reset

1940


Write the different tools in the workflow manager?

994


what is size of u r database?

2247


What is joiner transformation in informatica?

993


What is the Process to creating lookup transformation in informatica

982


hi friends .i designed mapping in windows but i want to run mapping in linux.should i install the server components in linux?

1932


What is the sql query overwrite in source qualifier in informatica

1026


What are the different ways to implement parallel processing in informatica?

1340


Explain about cumulative Sum or moving sum?

977


Design a mapping to load a target table with the following values from the above source?

1285


What is sq transformation?

1080


scenario where i can use only concurrent execution of workflow.

3062


How might you approve all mappings in the archive all the while?

956