Is there a fundamental difference in terms of performance with regards to using BETWEEN versus the comparison operators? One of the wikis recommends the latter:
3: Replace the BETWEEN with >= and <= operators because BETWEEN in turn converted to mentioned oprators. So with we can reduce one step.
http://sybaseblog.com/sybasewiki/index.php?title=What_are_the_basics_of_performance_tuning%3F
Cheers,
Ver
Yes. There is a fundamental difference. BETWEEN needs to be interpreted to the appropriate operators. That’s an added step for the system to take.
If you use the operators up front, you can save that step…which speeds things up (even marginally).