* Roger Baklund 
> NULL is a special value, not a string, so you should not use quotes:
> 
>   delete from book where subject=NULL;

Sorry, the correct syntax is:

  delete from book where subject IS NULL;

NULL is a _very_ special value... ;)

-- 
Roger
sql

---------------------------------------------------------------------
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