SQL Language (MOSC)

MOSC Banner

In list vs OR

edited Aug 20, 2010 6:31AM in SQL Language (MOSC) 5 commentsAnswered
Hi, Anyone can help point to Oracle docs where it describes how the parse parses in list predicates?
For example
Does Oracle translates
where column_name in ('A','B')
into
where column_name = 'A' or column_name = 'B' ?

So in terms of parsing there is no benefit of using in ('A','B') other than in list is easy to code?

Thanks,
Sha

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center