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

how can we load first and last record from a flat file
source to target?

Answer Posted / srinu

I have an IDEA,
After sql Trans,go with AGG,RANK transformation,
in RankTrans Properties set the rank 1 only---1 row returns,
In AggTrans Dont do any column for Group--Last row returns,
We need 2 Target tables. 1 for 1st record,2 for last record,
if u using the UNIONtrans one Target table is enough,,,
i think it wii help u,,,,,,srinu,,,,,,,,,

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

2039


What are the differences between joiner transformation and source qualifier transformation?

1117


Partition, what happens if the specified key range is shorter and longer

2457


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

1074


Define pmcmd command?

1008


What is workflow monitor?

1014


Enlist the tasks for which source qualifier transformation is used.

998


What do you mean by blocking transformation?

990


In which transformation you cannot drag ports into it?

1270


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

1893


server hot-ws270 is connect to Repository B. What does it mean?

2481


explain abt ur project architecture?

2140


What are the new features of informatica 9.x in developer level?

954


What is dimensional table?

1020


What is the difference between STOP and ABORT options in Workflow Monitor?

1202