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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is diff b/t sorter t/r and agg have the option sorter property...

2169


What happens to map if we alter the datatypes between source and its corresponding source qualifier?

1044


scenario where i can use only concurrent execution of workflow.

3162


Explain constraint based loading in informatica

1089


Explain the difference between mapping parameter and mapping variable?

1033


Explain in detail about scd type 1 through mapping.

1547


What are mapplets?

1264


What does cheating measurement mean?

1046


What is sorter transformation?

1041


Describe the impact of several join conditions and join order in a joiner transformation?

1059


What is the use of source qualifier?

1120


What are the different types of transformation available in informatica.

1101


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

969


As union transformation gives UNION ALL output, how you will get the UNION output?

1106


What is target load order?

1238