dbTalk Databases Forums  

Help! behaviour changed in some upgrade on select!

comp.databases.mysql comp.databases.mysql


Discuss Help! behaviour changed in some upgrade on select! in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
The Natural Philosopher
 
Posts: n/a

Default Re: Help! behaviour changed in some upgrade on select! - 03-04-2010 , 03:49 PM






Lennart wrote:
Quote:
On 4 mar, 13:53, The Natural Philosopher <t... (AT) invalid (DOT) invalid> wrote:
[...]
The question is, is NULL true, or false!!

Neither, null is null

It gets more confusing, because both data bases return the same thing in
the case of:

select id from orders where (NULL!='yes')


is the standard "not equals" operator. Many dbms accept != as well,
but it is better to use <> since it is more likely to work

Too much C in the SQL I am afraid.

:-(

Quote:
[...]

/Lennart

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.