I need to get all the rows where its 'time' field is equal to sysdate. The thing is I just want to compare dd/mm/yyyy and as my fields are in the date format I'm using
select * from myTable where trunc(timefield) = trunc(sysdate)
If there's only one field which is truncated everything works fine, but when I want to execute that request it takes too many times (> 10 minutes and still running).
Is there a way to bypass that?