I have a table that contains a Job Number field (jobno). This field contains data that looks like '123456' or it could look like '345678 Acme'. Users of the website will type in a request for a job number. I have no problem searching and returning the desired data using a simple SELECT - WHERE - LIKE command. My problem is, users want to be able to now enter multiple Job numbers in their request field. i.e.: 123456, 345678. Etc.
How would I go about creating a select for this? I understand the use of the "WHERE jobno IN" and this method works fine for job numbers that are only a number. However, this does not allow for wildcards therefore I'm unable to return data such as '345678 Acme'. Also, I cannot use a series of "OR" because I would not know how many job numbers the user might enter to search for.
I hope this is enough explanation. Any help would be great. Thanks!