I hv a datetime format like '24/01/2008 15:56:01' . Now I have to select dates from a date range, but input datetime format like 24/1/2008 15:56:01'.
I hv written the query like :
"select date_column from date_table where to_char(date_co lumn,'dd/mm/yyyy hh24:mi:ss') between input_date and input_date; "
here I face a problem that when the date range within a month, it works fine.
but when it become greater may be 2 or 6 month date range it does not work...
Plzzz help regarding this......
I hv written the query like :
"select date_column from date_table where to_char(date_co lumn,'dd/mm/yyyy hh24:mi:ss') between input_date and input_date; "
here I face a problem that when the date range within a month, it works fine.
but when it become greater may be 2 or 6 month date range it does not work...
Plzzz help regarding this......
Comment