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

Home -> Community -> Usenet -> c.d.o.server -> Re: Comparing Date - Problem

Re: Comparing Date - Problem

From: Richard Kuhler <noone_at_nowhere.com>
Date: Wed, 29 Oct 2003 23:07:04 GMT
Message-ID: <sKXnb.72064$ZH4.50488@twister.socal.rr.com>


Tom Miskiewicz wrote:

> Hi!
>
> I got stuck with this:
>
> SELECT Request_ID FROM Test WHERE StartDate > TO_DATE('02.10.2003',
> 'DD.MM.YYYY');
>
> *
> ERROR at line 1: ORA-00932: inconsistent datatypes
>
> I also tried a number of other options like TO_NUMBER(TRUNC(TO_DATE...,
> TRUNC(TO_DATE etc. Same problem.

Are you sure the STARTDATE column is a DATE data type? Do a describe on the TEST table.

--
Richard Kuhler
Received on Wed Oct 29 2003 - 17:07:04 CST

Original text of this message

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