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

Answer Posted / durgaprasad

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

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does reusable transformation mean?

755


What is complex mapping?

752


Write the prerequisite tasks to achieve the session partition?

735


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1554


What are the data movement modes in informatica?

789






What are the transformations that are not supported in mapplet?

677


what is SDLC way of code development?

1652


If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b, the target should be loaded as 1 a+b+c or 1 a||b||c, what transformations should be used for this?

8913


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

769


Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.

2430


Give some information on report bursting and how to do it in bca as I have to split the report and send different reports to different people?

639


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

2114


Explain your project of banking domian.

1288


How can we delete duplicate rows from flat files?

847


can we override a native sql query within informatica? Where do we do it?

734