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


Please Help Members By Posting Answers For Below Questions

Name three sql operations that perform a sort.

596


What are different sql data types?

521


Why do we use cursors?

522


what is try_catch block in procedure

1195


What is equi join in sql?

619






Does a join table need a primary key?

537


What is the best partition size for windows 10?

496


What are sql objects?

552


What is lookup table in sql?

611


How do I know if I have sql express or standard?

612


Write a sql query to get the third highest salary of an employee from employee_table?

638


What is localdb mssqllocaldb?

625


What is the difference between microsoft access and sql server?

536


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2011


Does a primary key have to be a number?

524