write a query to remove null value follwing table?
col1 col2 col3
dinesh null null
null suresh null
null null prakesh

i want the output

col1 col2 col3
dinesh suresh prakesh

Answer Posted / sasibushan

This will work

SELECT Max(CASE WHEN col1 IS NOT NULL THEN col1 END) AS "col1",
Max(CASE WHEN col2 IS NOT NULL THEN col2 END) AS "col2",
Max(CASE WHEN col3 IS NOT NULL THEN col3 END) AS "col3"
FROM Table_name

Convert this logic to Informatica...

Sasi.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of informatica?

850


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

1940


1)you have multiple source system where u receive files ,how do you actually load into mapping using transformation,what are the transformation you use? 2)you have files in ftp location ,how do you get it into mapping with you ETL concept?

1920


What do you mean incremental aggregation?

841


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3636


What does refresh system mean, and what are its distinctive choice?

812


how we can load rejected record's at run time?(not through bad files)

2160


What are ETL Tools?

872


Explain joiner transformation in informatica

909


What are the guidelines to be followed while using union transformation?

900


How to use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?

904


What is persistent lookup cache?

812


Plz can any one say me how to get the informatica certification materials and dumps

1828


What are the various types of transformation?

915


Can u generate reports in Informatica?

862