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
what is the difference between primary key and unique key? : Sql dba
What are the two virtual tables available at the time of database trigger execution?
Name the operator which is used in the query for pattern matching?
How to change the order of columns in Oracle SQL Plus ?
how to create a test table in your mysql server? : Sql dba
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is pivot query?
Is it possible to update views?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
what are the authentication modes in sql server? : Sql dba
Enlist the characteristics of pl/sql?
What is left join example?
What is difference between stored procedure and trigger?
What is input buffer in sql*plus?
What is a sql schema used for?