Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle-l »

Re: CHR(0) ver null

Don Seiler

2007-08-03

Replies:

Yeah, NULL is a special case. Nothing is equal to it, not even NULL.
By that same token, I doubt that anything is greater than or less than
NULL. Give this article a read:

http://thinkoracle.blogspot.com/2005/05/null-vs-nothing.html

Also be sure to read the first comment from HJR.

Don.

On 8/2/07, Thomas Day <tomdaytwo@(protected):
> This works perfectly fine for me in 10.2
>
> select OWNER, TABLE_NAME from dba_TABLES where owner >= CHR(0)
> AND TABLE_NAME >= CHR(0)
> ORDER BY 1,2
>
> On the other hand "null" is undefined. It's not CHR(0).
>
>
>
> On 8/2/07, Wojciech Skrzynecki <wojciech.skrzynecki@(protected):
> > Hello
> >
> > What component in DB I have to install to use ">= CHR(0)" instead of
> > "is not null" .
> >
> >
> >
> > --
> > Wojciech Skrzynecki
> > Database Administrator
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
> >
> >
>
>


--
Don Seiler
oracle: http://ora.seiler.us
ultimate: http://www.mufc.us
--
http://www.freelists.org/webpage/oracle-l


©2008 dba.5341.com - Jax Systems, LLC, U.S.A.