Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Where Clauses: IN versus =
Tim Marshall wrote:
> DA Morgan wrote:
>
>> If your question was >> >> WHERE some_column = 10 >> versus >> WHERE some_column IN (10) >> >> your question would make sense.
If that was the question ... I think Andy gave you the answer.
I think the former is preferable in all cases in that it is far easier to read. Though you might want to think more in terms of x := 10; followed by WHERE some_column = x.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Mon Sep 12 2005 - 18:15:36 CDT