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 / shekharjchandra
Generally when u give query like
Select * from tablename; you will not get NULL displayed in Oracle SQL* Plus. I am not sure what tool you are using.
In SQL server you will get the output displayed NULL for null values.
If you still getting NULL as display value for null values then probably u have to do small change.
at SQL prompt use SQL* Plus command
SQL> SET NULL ""
now u give u r query, u will not get NULL displayed for null values
Regards
J
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Does view contain data?
What is the difference between function and procedure in pl/sql?
How run sql*plus commands that are stored in a local file?
What does where 1 1 mean in sql?
What is rownum and rowid?
What is dynamic sql in pl sql?
Enlist some predefined exceptions?
What is java sql driver?
Explain the difference between 'between' & 'and' operators in sql
What is a stored procedure in sql with example?
How can you tell the difference between an index and a view?
What are the types of optimization?
How does a self join work?
How to pipe multiline string to isql?
What trigger means?