Re: mySQL Query and blank fields

From: Date: Thu, 25 Oct 2001 13:01:28 +0000
Subject: Re: mySQL Query and blank fields
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13704@lists.php.net to get a copy of this message
On Thursday 25 October 2001 13:16, Niklas Lampén wrote: > How can I query for specified fields that has to contain atleast 2 > charters? SELECT * FROM foo_table WHERE length(bar_field)>=1; Arpi > > Example: > Field AAA contains '' (NULL) => No match > Field BBB contains ' ' (one charter) => No match > Field CCC contains 'ab' => Match > Field DDD contains 'abcdefg' => Match > > > Niklas

« previous php.db (#13704) next »