yippie_ky_yay
Registered User.
- Local time
- Today, 18:33
- Joined
- Jul 30, 2002
- Messages
- 338
Hello,
I get a field (called "range") from another database (which I have no control over) that gives me a list of numbers delimited by a comma (ie. 1,4,11). I need to query on these now and I'm not quite sure how to proceed. I didn't think it would be so bad because it's a list, but I just can't figure out how I can use it.
Say someone selected "1" as the range criteria - this is about as close to the answer as I can get:
Select * From myQuery WHERE range like "*1*";
Obviously this would pick up the 11 as well which would be wrong.
Can someone help me out please?
TIA
-Sean
I get a field (called "range") from another database (which I have no control over) that gives me a list of numbers delimited by a comma (ie. 1,4,11). I need to query on these now and I'm not quite sure how to proceed. I didn't think it would be so bad because it's a list, but I just can't figure out how I can use it.
Say someone selected "1" as the range criteria - this is about as close to the answer as I can get:
Select * From myQuery WHERE range like "*1*";
Obviously this would pick up the 11 as well which would be wrong.
Can someone help me out please?
TIA
-Sean