Hi,
I am getting incorrect results for my select statement when querying the table with the following information:
Timestamp ID
-------------------------------
08/03/02 03:06:18 100
08/03/02 03:06:59 101
08/03/02 03:16:57 226
08/04/02 12:12:12 227
The query that I am using is:
select ID from TABLE1
where TIMESTAMP > to_date('08/03/02 03:16:57','mm/dd/yy hh24:mi:ss');
I would expect to get the result of ID = 227
But it does not give me the expected result.
I appreciate your help.
Thanks,
Jwalant.
I am getting incorrect results for my select statement when querying the table with the following information:
Timestamp ID
-------------------------------
08/03/02 03:06:18 100
08/03/02 03:06:59 101
08/03/02 03:16:57 226
08/04/02 12:12:12 227
The query that I am using is:
select ID from TABLE1
where TIMESTAMP > to_date('08/03/02 03:16:57','mm/dd/yy hh24:mi:ss');
I would expect to get the result of ID = 227
But it does not give me the expected result.
I appreciate your help.
Thanks,
Jwalant.