What is the best way to query a database with a large set of up to 500 comparisons per row.
SELECT * FROM table WHERE column = x OR column = y OR column = z OR ...(x500)
I estimate that the table could grow to up to thousands of entries in the short term.
Thanks
Use
WHERE column IN(x,y,z...)