Probably a simple solution but can't find it myself can someone help?????
I would like to extract data from a table where the dates
are between two dates and then loop to select more data for another two sets of dates.
At the moment I have done this select statement
select *
from table_name
where
and date_field between '24-OCT-2005' and '26-OCT-2006'
I have also indexed the date field so that the query response will be quicker
and not cause rollback segment errors.
Please can someone help?
I would like to extract data from a table where the dates
are between two dates and then loop to select more data for another two sets of dates.
At the moment I have done this select statement
select *
from table_name
where
and date_field between '24-OCT-2005' and '26-OCT-2006'
I have also indexed the date field so that the query response will be quicker
and not cause rollback segment errors.
Please can someone help?
Comment