| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Gary Smith | Date: | April 24 2012 4:18pm |
| Subject: | Re: Postal code searching | ||
| View as plain text | |||
On 24/04/2012 17:16, Gary Smith wrote: > http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html > > Specifically, replace % with _ as this means "match one character" not > "match any number of characters". So, you can do: > > like "W1 %" > like "W1_ %" > etc. Oh, and you can also get really dirty and start using string functions like left() and so on. Gary
| Thread | ||
|---|---|---|
| • Postal code searching | Tompkins Neil | 24 Apr |
| • Re: Postal code searching | Gary Smith | 24 Apr |
| • Re: Postal code searching | Gary Smith | 24 Apr |
| • Re: Postal code searching | Tompkins Neil | 24 Apr |
| • Re: Postal code searching | Gary Smith | 24 Apr |
| • Re: Postal code searching | Lars Nilsson | 24 Apr |
| • Re: Postal code searching | Mark Goodge | 25 Apr |
| • Re: Postal code searching | Andrew Moore | 25 Apr |
| • Re: Postal code searching | Tompkins Neil | 25 Apr |
| • Re: Postal code searching | hsv | 25 Apr |
| • Re: Postal code searching | hsv | 25 Apr |
| • RE: Postal code searching | Rick James | 24 Apr |
| • Re: Postal code searching | Neil Tompkins | 24 Apr |
| • Re: Postal code searching | Grant Allen | 24 Apr |
