Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Will between operator work faster than relational operators ?

318083Sep 30 2002
Dear All,

I would like to know whether the between operator will work faster than >= and <= operator ?
For instance if the query has the condition like the one below which of these queries works faster ?

(A)Select * from empmast where doj between '01-sep-2002' and '31-dec-2002'
Or
(B)Select * from empmast where doj>='01-sep-2002' and doj<='31-dec-2002'

Can anyone guide me please ?

Regds,
Ramakrishnan L
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2002
Added on Sep 30 2002
3 comments
229 views