A guy I work with went to a DB2 performance workshop and the instructor there told him the BETWEEN was better. So, saying WHERE start_dt between '2001-10-31' and '2002-02-28' is faster than saying WHERE start_dt > '2001-10-30' and start_dt < '2002-03-01'.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.