List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 29 2002 5:35pm
Subject:Re: Not secting empty strings
View as plain text  
>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....

WHERE (col_name IS NOT NULL AND col_name != '')

>
>Can anyone help me?
>
>Thank you in advance!
>
>Andrew

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