Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Novice: select by time

Re: Novice: select by time

From: dsmcd <dsmcd_at_uswestmail.net>
Date: Thu, 27 Jun 2002 15:20:53 GMT
Message-ID: <p3GS8.42$1x4.25427@news.uswest.net>


Thanks for the nudge. Couldn't get trunc(date_field) to do it, but did lead me to
...where to_char(date_field, 'HH24:MI:SS') = '00:00:00' which seems to do the trick.

D.

Per-Arne Hellarvik <phellarv_at_genuity.no> wrote:
>trunc(<datetime>) should do the work....
>
>
>On Thu, 27 Jun 2002 16:34:09 +0200, dsmcd wrote:
>
>> Hello...
>>
>> I'd like to select all records whose time is 00:00:00 in a
>>datetime
>> field ('MM/DD/YY HH24:MI:SS').
>>
>> Any suggestions?
>>
>> Thanks in advance,
>> D.
Received on Thu Jun 27 2002 - 10:20:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US