|
|
|
|
|
|
|
Re: how to null value replace' !' [message #251169 is a reply to message #251004] |
Thu, 12 July 2007 10:21 |
Bill B
Messages: 1971 Registered: December 2004
|
Senior Member |
|
|
Another nice trick if you are using sql*plus is to use the
set null !
command. It will replace any null columns with the space (or quote) delimited string that follows
whb@xe>create table t (junk varchar2(1));
Table created.
whb@xe>insert into t values(null);
1 row created.
whb@xe>insert into t values('X');
1 row created.
whb@xe>select * from t;
J
-
X
whb@xe>set null !
whb@xe>select * from t;
J
-
!
X
|
|
|