following source
name gender
ramya female
ram male
deesha female
david male
kumar male
i want the target

male female
ram ramya
david deesha
kumar

any body give solution above question?

Answer Posted / annu

select decode(gender,'female',name) FEMALE,
decode(gender,'male',name) MALE from src;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data movement mode in Informatica and difference between them?

632


What are mapplets? How is it different from a Reusable Transformation?

641


How to generate sequence numbers without using the sequence generator transformation?

661


Parameter and variable differences

1629


How do you handle two sessions in Informatica

676






What is the use of source qualifier?

686


CANNOT USE PARAMETER FILE! Hi all, I am trying to use parameter file for my workflow. This could help me to filter records where CITY = 'Portland' Following is what I have done: **in Designer - create new parameter : $$PARA_FIL, Parameter, String, IsExprVar=TRUE, Initial value = [empty] - Source Qualifier/ Properties/Source Filter: CUSTOMERS.CITY='$$PARA_FIL' **Create Parameter file: C:\Informatica\PowerCenter8.6.0 \server\infa_shared\BWParam\DynamicParamTest.txt $$PARA_FIL='Portland' **Configure workflow to use the parameter file: Edit Workflow/Properties/Parameter Filename: C:\Informatica\PowerCenter8.6.0 \server\infa_shared\BWParam\DynamicParamTest.txt I also configured directory of parameter file for session task. However, I just got this in the session log: [SQ_CUSTOMERS] SQL Query [SELECT CUSTOMERS.CUSTOMER_ID FROM CUSTOMERS WHERE CUSTOMERS.CITY='$$PARA_FIL'] No record has been loaded to target. It seems that the parameter file has not been read. I cannot understand the reason why. Could any of you kindly suggest me anything? Thanks

7839


What is domain in terms of informatica?

574


What differs when we choose the sorted input for aggregator transformation?

578


How is union transformation utilized?

578


What is xml source qualifier transformation in informatica?

724


How can you increase the performance in joiner transformation?

717


How to differentiate between the active and passive transformations?

635


what is the complex transformation you used in informatica

2205


How can we use mapping variables in informatica?

606