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

mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

774


What is bulk collect in pl sql?

725


How is pl sql different from sql?

726


how to include character strings in sql statements? : Sql dba

731


How does an execution block start and end in pl sql?

673






What can you do with pl sql?

765


Can we create view in stored procedure?

685


define join and explain different type of joins? : Sql dba

735


What are different types of tables in sql?

698


What is pl/sql language case sensitive?

822


what is 'mysqladmin' in mysql? : Sql dba

743


How do I use google cloud in sql?

728


What are the most important characteristics of pl/sql?

781


What is linq to sql?

766


Why left join is used in sql?

697