List:General Discussion« Previous MessageNext Message »
From:Almar van Pel  Date:February 22 2011 12:31pm
Subject:RE: contact gives empty result
View as plain text  
Hi Jaime, Joerg and All,

Thanks for the explaining. In all those years I've never actually seen this, quite
surprising actually :). In this case the comments field was empty and indeed not set. As
it could be filled during the proces I'll be adding an empty string to the field. I still
need to update it with additional text.

Best regards,

Almar van Pel

-----Original Message-----
From: Jaime Crespo Rincón [mailto:jcrespo@stripped] 
Sent: dinsdag 22 februari 2011 13:20
To: Joerg Bruehe
Cc: mysql@stripped; Almar van Pel
Subject: Re: contact gives empty result

2011/2/22 Joerg Bruehe <joerg.bruehe@stripped>:
> You have not understood the concept of NULL in SQL:
> NULL does not mean "empty", it means "unknown".

Apart form fully agreeing with Joerg, just a tip:
you can use the the IFNULL() operand as a workaround:

Anyway, you should get rid of misplaced NULL fields, as they also
affect performance.

Jaime Crespo
MySQL & Java Instructor
Software Developer
Warp Networks

MySQL General Mailing List
For list archives:
To unsubscribe:

contact gives empty resultAlmar van Pel 22 Feb
  • Re: contact gives empty resultJoerg Bruehe22 Feb
    • Re: contact gives empty resultJaime Crespo Rinc√≥n22 Feb
      • RE: contact gives empty resultAlmar van Pel 22 Feb