P is for Practical | |
PerlMonks |
Re: Retrieving multiple records from databaseby gmax (Abbot) |
on Oct 16, 2004 at 17:39 UTC ( [id://399785]=note: print w/replies, xml ) | Need Help?? |
Use the "IN" operator instead of "OR". Here's my favorite idiom (using placeholders):
Alternatively:
See DBI Recipes for more idioms. _ _ _ _ (_|| | |(_|>< _|
In Section
Seekers of Perl Wisdom
|
|