Instead of using 3 separate columns for the date, what I've been using is a single column
to_number(to_char(sysdate,'yyyymmdd'))
to provide a column more amenable for use an index.
You may want to give it a try and do a speed comparision.
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.