Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: DateTime in SQL
On Wed, 29 Dec 1999 22:36:23 -0800, "Bob Johnson" <robertsj_at_best.com>
wrote:
>I would like to filter a select statement by using date and time:
>select * where datefield = to_date('12/28/99 19:00:00')
>But, this doesn't work. How do I do this? Thanks, Bob
>
>
In your statement
to_date('12/28/99 19:00:00','MM/DD/YY HH24:MI:SS')
Sorry to say so, but this a truly typical RTFM question.
Hth,
Sybrand Bakker, Oracle DBA Received on Thu Dec 30 1999 - 02:06:51 CST
![]() |
![]() |