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
What is thread join () in threading?
What are the string functions in sql?
What is range partitioning?
Is progress software supports to ( pl/sql )?
Explain what is a column in a table?
Is sql a backend language?
what is the difference between myisam static and myisam dynamic? : Sql dba
What is mutating sql table?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is rename command in sql?
what happens if you no create privilege in a database? : Sql dba
What is an ndf file?
What is record data type?
how to calculate expressions with sql statements? : Sql dba
what is a database lock ? : Sql dba