Hi all,
I am looking to do a query that retrieves the dates in a table that are todays date.
I tried this
select date_time, refnum from inventory where date_time > to_date('17-FEB-02, 12:00:00')
*
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string
I dont think I am handling the date input correctly. Any idea how to do the comparison please?
Rgds
Matt
I am looking to do a query that retrieves the dates in a table that are todays date.
I tried this
select date_time, refnum from inventory where date_time > to_date('17-FEB-02, 12:00:00')
*
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string
I dont think I am handling the date input correctly. Any idea how to do the comparison please?
Rgds
Matt