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 -> Newbie SQL on date data type column

Newbie SQL on date data type column

From: Jay <jlee00_99_at_yahoo.com>
Date: 31 Jan 2003 19:37:15 -0800
Message-ID: <3ea71bf0.0301311937.1fe537b8@posting.google.com>


I am experiencing a problem with my simple SQL. I am getting an error message stating that the month is not recognized. What changes do I need to make to my query?

Select *
From servtime
Where starttime between '2003-10-29 09:00:00' and '2003-10-29 12:00:00'

The data type for for the starttime column is DATE. The values in this column appear in this format YYYY-MM-DD HH:MM:SS

Any pointers would be greatly appreciative.

Thanks, Received on Fri Jan 31 2003 - 21:37:15 CST

Original text of this message

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