Hi, i'm not good in sql. I'm using oracle as database. On Toad, i'm trying to fetch records using a 'where' clause for a data type field.
what i have done in the past is
I did not got any results here since i have realised that i had compared a date type with a
string value.
updated_date is date type field with values like
12/16/2010 11:50:00 PM in the table exchange_rate
12 is month, 16 is date and 2010 ofcourse you know that it is year as format.
then i modified my query as
select * from exchange_rate where updated_date = to_date( '12/16/2010','mm/dd/yyyy')
but still nothing is getting. plese tell me where i'm doing mistake.
thanks in advance.
