how to eliminate null values in a column i.e
table vlaues
1 2 3
NULL 3 4
1 5 NULL
i want output like this
1 2 3
3 4
1 5
i dnt want to use nvl is null and i dnt want replace the
NULL value with any value i.e nvl(col,o);

Answer Posted / jayendra

Hi
You Can Replace the null without using nvl
function.
using replace key world
like this
Select Replace(values,'null')
from demo where values!=NULL;
it will display the result like this
1 2 3
3 4
1 5

Thanks
J.N.Tripathi
9868703898

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to revise and re-run the last sql command?

742


What is parallel hint?

838


how to present a past time in hours, minutes and seconds? : Sql dba

651


What is difference between hql and native sql?

672


What is the purpose of cursors in pl/sql?

715






What is function and procedure?

639


how to include comments in sql statements? : Sql dba

635


What are the different types of sql commands?

688


How do I run a script in sql developer?

585


What is the sql query to display the current date?

638


what is bcp? When does it used? : Sql dba

608


What is the purpose of my sql?

599


What is difference between inner join and self join?

682


What is varchar example?

662


What is the non-clustered index in sql?

663