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 to extract data from a flat file.the flat file has 10
records.i have to extract the 1st and 5th record every
time.how is it done.

Answer Posted / abhishek upadhyay

It can be done easily by a SQ generator....The SQ generator
will assign the number as a PK to all the rows.

1
2
3
4
5.... and so on

Now when this is done you can write in the post target sql
that -

delete from target table where number <>1 or number <> 5

and then the target table will be left with only 1 and 5
records

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you promote a non-reusable transformation to reusable transformation?

1067


Differentiate between sessions and batches?

962


How do you set a varible in incremental aggregation

1825


What if the source is a flat-file?

1041


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

2020


how to load dimension table and fact table. plz tell me the steps.

2035


What is main use of mapplet?

1068


What are the measure objects?

1118


What is a grid in Informatica?

998


How are the sources and targets definitions imported in informatica designer?

1048


What are session parameters ? How do you set them?

1772


can anyone explain me about retail domain project in informatica?

7889


What is the use of transformation?

944


How to generate sequence numbers?

1028


what are all the deliverables of ETL informatica power center project? what are all updated or created by etl developer as his everyday activities?

2236