- - Code, Content, and Presentation
- -- Perl Server Side CGI Scripting
- ---- Writing an Efficient Query
jpjones - 11:25 am on May 29, 2003 (gmt 0)
I do this by using your first suggestion.
SELECT * FROM tbl WHERE colum IN (1,3,4,6,17);
This field has an index on it, I presume?
Thread source: http://www.webmasterworld.com/perl/2910.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com