Date parameter causes query to run slowly
Posted: Wed 28 Oct 2009 11:31
Version: 5.25.44.0
Using Direct Mode I am having trouble with certain queries involving date parameters.
SELECT col
FROM tbl
WHERE dateCol>:dateParameter
and dateCol2to_date(:dateParameter, 'yyyymmddhh24miss')
and dateCol2<=to_date(:dateParameter2, 'yyyymmddhh24miss')
What can cause this? Is it a bug or the Oracle instance to blame?
Using Direct Mode I am having trouble with certain queries involving date parameters.
SELECT col
FROM tbl
WHERE dateCol>:dateParameter
and dateCol2to_date(:dateParameter, 'yyyymmddhh24miss')
and dateCol2<=to_date(:dateParameter2, 'yyyymmddhh24miss')
What can cause this? Is it a bug or the Oracle instance to blame?