Sent by: [EMAIL PROTECTED] Subject:
I guess you need to include the minutes as well:
... to_number(to_char(date_field, HH24:MISS')) > 14
otherwise the time 14:25:00 will not be greater than 1400
Witold
>
>
> One way would be the following
>
> SELECT ...
> FROM table
> WHERE TO_NUMBER(TO_CHAR(date_field,'HHSS')) > 1400;
cc:
Sent by: Subject: selecting on time
root@fatcity.
com
03/06/2002
09:48 AM
Please
respond to
ORACLE-L
John Dunn
fas.co.uk> cc:
Sent by: Subject: s
Sent by: Subject: selecting on time
I need to do a select based upon the time element in a date column.
i.e, eg where the time is greater than 14:00
Can anyone provide an example of how to do this?
John
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Dunn
INET: [EMAIL PROTECTED]
Fat City Networ