MySQL Select help needed
- From: Dave Brown <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 18:47:03 +0100
Hi All,
Trying to work out the correct sql statement
If I have a table that contains the column partpostcode and has these entries,
PE10
PE15
PE1
What I want to do is select those rows where the partpostcode exists in a given parameter,...
i.e something liek.
Select * where partpostcode IS CONTAINED IN "PE10 1AF"
sadly there are no IS CONTAINED IN keywords, but i'm not sure how to do it using LIKE or IN...
Any comments ?
Thanks, .
- Follow-Ups:
- Re: MySQL Select help needed
- From: Rhino
- Re: MySQL Select help needed
- From: David Harper
- Re: MySQL Select help needed
- Prev by Date: Re: help me with java probs please!
- Next by Date: Re: MySQL Select help needed
- Previous by thread: Re: DBPool & Tomcat config and error.
- Next by thread: Re: MySQL Select help needed
- Index(es):