Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: is null / = null query

Re: is null / = null query

From: bunyamin karadeniz <bunyamink_at_havelsan.com.tr>
Date: Sun, 10 Sep 2000 17:53:26 +0300
Message-Id: <10675.121593@fatcity.com>


you must use 'is null' in 'where' clauses and other places where you do not assign null to a field .
if you want to insert a data with a null , then you can use '=null' to assign null into a field...........
Look at pl/sql documentation for more details . I send my loves to Holland where is my ideal country..



Bunyamin K. Karadeniz
Enformasyon Teknolojileri Dir.
Veri Tabanư Grubu tel : 2873565/1681
HAVELSAN

> Isn't this exactly the way it should be ???
>
> > -----Original Message-----
> > From: GKor_at_rdw.nl [SMTP:GKor_at_rdw.nl]
> > Sent: Thursday, November 09, 2000 3:16 PM
> > To: Multiple recipients of list ORACLE-L
> > Subject: is null / = null query
> >
> > Hi everyone
> >
> > I have launched the following query in SQL*PLUS
> >
> > SQL> L
> > 1* SELECT COUNT(*) FROM WERK_ORDER WHERE RESULT_CODE_WO = NULL;
> > SQL> /
> > 0
> >
> > 1 row selected.
> >
> > SQL> SELECT COUNT(*) FROM WERK_ORDER WHERE RESULT_CODE_WO IS NULL;
> > 301
> >
> > 1 row selected.
> >
> > SQL>
> >
> > i did'nt expect to get answer on the first query
> >
> > anyone with an explanation or is this a undocumented feature ?
> >
> > thanks
> >
> > gkor_at_rdw.nl
> > rdw the netherlands
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author:
> > INET: GKor_at_rdw.nl
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Weerd Kirsten, E.C. de
> INET: Kirsten.deWeerd_at_Oranjewoud.nl
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
Received on Sun Sep 10 2000 - 09:53:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US