List:General Discussion« Previous MessageNext Message »
From:Gurhan Ozen Date:April 29 2002 5:26pm
Subject:RE: Not secting empty strings
View as plain text  
Have you tried "... WHERE columnname=''; "??

Gurhan

-----Original Message-----
From: Andrew Kuebler [mailto:akuebler@stripped]
Sent: Monday, April 29, 2002 12:55 PM
To: mysql@stripped
Subject: Not secting empty strings


I want to query records that do not contain empty strings and null
values through a SELECT statement.

IS NOT NULL works for the nulls, but how I select non-empty strings
("")? I tried everything I can think of and even some non-published
statements like name IS NOT ''  ..... I just can't figure it out....

Can anyone help me?

Thank you in advance!

Andrew



---------------------------------------------------------------------
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 <mysql-thread107491@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-c-gurhan.ozen=wcom.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Thread
Not secting empty stringsAndrew Kuebler29 Apr
  • RE: Not secting empty stringsGurhan Ozen29 Apr
  • Re: Not secting empty stringsPaul DuBois29 Apr
  • Re: Not secting empty stringsMichael Chang29 Apr