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

How to load last n records of file into target table - informatica

856


What is sorter transformation?

782


What is a sorter transformation?

884


Explain the informatica workflow?

819


What is decode in informatica?

827


What do you mean by blocking transformation?

781


How are indexes created after completing the load process?

1238


What are Dimensional table?

800


Explain what are the different types of transformation available in informatica.

786


What is a mapplet/worklet in informatica?

929


Is stop and abort are same in informatica?

768


What is deployment group?

892


Differences between version 7.x and 8.x.

1644


What is exclusive and normal mode for repository services?

901


What is mapplet in informatica?

775