Hi guys,
I have a select statement which is selecting data and one of the where clauses is:
and trunc(vdv.created_date) >= trunc(sysdate - 28)
vdv.created_date is a date field.
This query is running slow, takes about 10 seconds and I am assuming it is due to the trunc(vdv.created_date). Is there a way I could make it more efficient? I am begining to think the trunc on vdv.created_date is not required as it will bring back the same data regardless? Is this correct?
Thanks for any help I may get.