View Single Post
Old 04-15-2004, 07:31 AM   #8 (permalink)
mpedrummer2
Insane
 
Quote:
Originally posted by Pragma
It's also possible to run it through a regex, ie:

If it matches the pattern of dddd-dd[.], then chop off the last digit and replace it with a %, otherwise match it with a different pattern.
The problem there, though, is that then information specific to the 6648-84T would be returned.

I think you're on the right track.

I'm going to play with this a bit:
Code:
SELECT books FROM info WHERE keyword IN('6648-84U','6648-84\*', '6648-8\*\*', etc)
and we'll go from there.

MPEDrummer
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62