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 am hvaing SOURCE as first line: 1000,null,null,null
second line as:null,2000,null,null 3rd line
as :null,null,3000,null and final line as:
null,null,null,4000 ............................Now i want
the OUTPUT as 1000,2000,3000,4000 For more clarification i
want to elimate nulls and want in a single line. Please
help me out

Answers were Sorted based on User's Feedback



I am hvaing SOURCE as first line: 1000,null,null,null second line as:null,2000,null,null 3rd li..

Answer / durgaprasad

select no,max(col1),max(col2),max(col3),max(col4) from
tablename group by no;

Is This Answer Correct ?    7 Yes 0 No

I am hvaing SOURCE as first line: 1000,null,null,null second line as:null,2000,null,null 3rd li..

Answer / srinivas

Just load the flat file.
(1000,null,null,null
null,2000,null,null
null,null,,3000,null
null,null,null,4000)
Go with Aggregate Trans formation with
MAX(field1)
MAX(field2),,,, .

Pls let me know if any corrections srinu.srinuvas@gmail.com

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Informatica Interview Questions

LOOKUP Condition is nothing but a Join condition? What type of join condition it,by default ? Using the LookUP Condition How many types of relational conditions we can make ?

6 Answers  


how we load the data from source to staging area

4 Answers   TCS,


What are different types of transformations available in informatica?

0 Answers  


what is the difference between informatica6.1 and infomatica7.1

0 Answers   TCS,


What is Code Page Compatibility?

1 Answers  


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

0 Answers   Cap Gemini,


suppose we will take flatfile target and load type is bulkload the session fails why please give me the answer

1 Answers   TCS,


How we will implement Pushdown Optimization and Types in Informatica with better examples

4 Answers   TCS,


What are the types of groups in Router transformation?

1 Answers   Informatica,


How to fasten loading of 100 million distinct records in informatica? (Initially they are loaded into target without using any transformation, taking 2 hours)

3 Answers   Atriax,


What is workflow manager?

0 Answers  


What is diff between connected and unconnected lookup?

5 Answers   BirlaSoft, Blue Star Infotech,


Categories