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

difference between repository database and repository service?

1133


What is enterprise data warehousing?

1027


I have 100 records in source table, but I want to load 1, 5,10,15,20…..100 into target table. How can I do this? Explain in detailed mapping flow.

1679


What is domain in terms of informatica?

994


tell me the rules and responsblites in our project(my project is development)

1918


Write the unconnected lookup syntax and how to return more than one column.

1097


What is the benefit of session partitioning?

1097


How union transformation is used?

991


Can we use the mapping parameter or variables developed in one mapping into any other reusable transformation?

1116


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3851


if we have a delimiters at unwanted places in a flat file how can we over come those.

2027


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

1089


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

1109


What are the restrictions of union transformation?

1018


While importing the relational source definition from the database, what are the metadata of source that will be imported?

1244