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 some rows in source.I have to map half rows to one target and half rows to another target.i.e you wont know how many records in source.?Implement a mapping?

Answer Posted / dilip ingole

use sql override in SQ
ans use query as fellow

SELECT NUM,CASE WHEN ROWNUM <=(SELECT COUNT(1)/2 FROM TABLE_NAME) THEN 1 ELSE 0 END FLAG FROM TABLE_NAME;

in informatica filter record based on flag if flag is 1 then send it to one target else to second target

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what scenario we use to improve session performance by pushdown optimization?can any one give example?

6189


What is the difference between informatics 7x and 8x and what is latest version?

1085


What is a pre-defined event and user-defined event?

1040


What is a repository manager?

1095


How to create a non-reusable instance of reusable transformations?

1135


what is unit testing?tell me proceedure

2223


Differentiate between router and filter transformation?

1015


How can we handle two sessions in informatica?

1033


How to improve the performance of a session using sorter transformation?

1148


Differentiate between joiner and lookup transformation?

1102


Enterprise data warehouse your projects phase by phase explain?

1924


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

1060


What are the types of schemas we have in data warehouse.

963


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

2163


What are the types of caches in lookup? Explain them.

971