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: Mark Styles <news_at_lambic.co.uk>
Date: Thu, 27 Jun 2002 15:26:16 GMT
Message-ID: <6ebmhu01dc8jis089jm7jfm5o9h6kgpvv0@4ax.com>


On Thu, 27 Jun 2002 14:34:09 GMT, dsmcd <dsmcd_at_uswestmail.net> 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').

select *
from mytable
where mydate = trunc(mydate); Received on Thu Jun 27 2002 - 10:26:16 CDT

Original text of this message

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