Assuming you're using MySQL - 35 seconds is all it took to find: 
http://www.mysql.com/doc/P/a/Pattern_matching.html

Good luck!
Russ.

On Thu, 25 Oct 2001 14:16:40 +0300 =?iso-8859-1?Q?Niklas_Lamp=E9n?= 
<[EMAIL PROTECTED]> 
wrote:

> How can I query for specified fields that has to contain atleast 2
> charters?
>  
> 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

#-------------------------------------------------------#
                                
  "Believe nothing - consider everything"       
  
  Russ Michell
  Anglia Polytechnic University Webteam
  Room 1C 'The Eastings' East Road, Cambridge
  
  e: [EMAIL PROTECTED]
  w: www.apu.ac.uk/webteam

  www.theruss.com
                        
#-------------------------------------------------------#


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to