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


we have three columns and two rows.
col1 col2 col3
a b c
want to change into 2 columns and 3 rows ,how?
col1 a
col2 b
col3 c
which transformation u'll use and how?

Answers were Sorted based on User's Feedback



we have three columns and two rows. col1 col2 col3 a b c want to change into 2 columns a..

Answer / sbvprasad

by using normalizer T/r u can do the above logic

Is This Answer Correct ?    8 Yes 0 No

we have three columns and two rows. col1 col2 col3 a b c want to change into 2 columns a..

Answer / abhishek kumar(abhisheklalmca@

src->sq->normalizer->expression->target
In normalizer--
c1(column name)- 3(occurs)-string(datatype)

In Expression--

o_c1 -(output port)
decode(GCID_c1,1,'col1',2,'col2',3,'col3')

connect
o_c1(expression) to c1( target port)
c1(exp) to c2(target) port
target should be like this
C1 C2
---------- -----
col1 a
col2 b
col3 c


thanks
abhishek

Is This Answer Correct ?    6 Yes 0 No

we have three columns and two rows. col1 col2 col3 a b c want to change into 2 columns a..

Answer / ravi

USE NORMALIZER TRANSFORMATION

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

How identifying bottlenecks in various components of informatica and resolving them?

0 Answers  


1.what is SDLC of a project,explain in detail? 2.what are dimensions,facts?what is confirmed dimensions? 3.what is the need of OLTP? when we have datawarehousing?

2 Answers   Accenture,


what are objects in data warehouse?

2 Answers   Mind Tree,


How to generate a single mapping for both the historical and incremental load.

2 Answers   CSC, TATA,


Three date formats are there . How to change these three into One format without using expression transformation ?

3 Answers   HP,


Hi If i had source like unique & duplicate records like 1,1,2,3,3,4 then i want load unique records in one target like 2,4 and i want load duplicate records like 1,1,3,3 then can any body please send me what is th scnario. my mail i shek.inform@gmail.com

6 Answers   HCL, Schneider,


when we create source as oracle and target as flat file, how can i specify first row as column in flat file?

1 Answers  


What is meta data and system catalog?

2 Answers  


What are partitions in informatica and which one is used for better performance?

2 Answers  


what is the gap analysis?

1 Answers  


write sql query following table quarter sales q1 1000 q1 2000 q1 3000 q1 4000 q2 5000 q2 6000 q2 7000 q2 8000 q3 1000 q3 2000 q3 3000 q3 4000 q4 5000 q4 6000 q4 7000 q4 8000 i want the output format like q1 q2 q3 q4 1000 5000 1000 5000 2000 6000 2000 6000 3000 7000 3000 7000 4000 8000 4000 8000

5 Answers   CTS,


In SCD type 2 if we had select date range. then suppose we had inserted today's date(eq. date is 30 aug 2010) then start date will be today's date(30 aug 2010) what will be the end date,we cant leave it blank?

2 Answers   Cognizant, emc2,


Categories