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: Selecting records by the Time of a Date column

Re: Selecting records by the Time of a Date column

From: Erbug Celebi <celebi_at_cs.deu.edu.tr>
Date: Thu, 30 Apr 1998 19:45:52 +0300
Message-ID: <3548AAC0.433F957E@cs.deu.edu.tr>


Hi,

Following query may be your problem's answer:

         select (SYSDATE,'HH24:MI:SS')"NOW" FROM DUAL;

Mikel Bengoa wrote:

> Hi,
>
> I have a table with a column that is a "Date" and I would like to get a set
> of records with the condition that the time part of this date is greater
> than a Value.
>
> I would like to do something like that:
>
> Select * from MyTable Where MyDate> '12:30'
>
> It does not work. How can I get it. Is there any function to get the time
> from a date?
>
> Thanks in advanced
>
> Mikel
Received on Thu Apr 30 1998 - 11:45:52 CDT

Original text of this message

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