MySQL Forums
Forum List  »  Newbie

Re: Maximum Size of Where Clause
Posted by: Paul Hartman
Date: July 25, 2005 04:00PM

You can use the "IN" option of WHERE, like:

select blah from junk where id in (1,2,3,4)

But it sounds like you definitely need a better way of accomplishing what you're tryng to do (which I'm not entirely clear on). Joins are probably where you want to head.

Options: ReplyQuote


Subject
Written By
Posted
Re: Maximum Size of Where Clause
July 25, 2005 04:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.