Well considering that you are searching for the text 'NULL'  and not a null
value

haveyou tried  " level2 is null"   ?

:-)

----- Original Message -----
From: "Ward, Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 6:37 PM
Subject: NULL Strings


> I don't know how this affects anything, but, I'm running the most recent
> version of mySQL for win98.
>
> Why is it that an SQL statement like this (or any variation)...
>
> SELECT * FROM classification
> WHERE level1 = "FOO" AND level2 = "NULL";
>
> will return an empty set. I know that there should be results. The NULL
> value is screwing me up. Am I even referencing it properly?
>
> Mark Ward
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to