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: sysdate in 2000. Irritating problem..

Re: sysdate in 2000. Irritating problem..

From: dave mausner <dmausner_at_ameritech.x.net>
Date: Fri, 04 Feb 2000 02:30:10 GMT
Message-ID: <8ECFD3D2Adlm@206.141.192.241>


mwvonk_at_wxs.nl (Martin Vonk) wrote in <87d2li$2lip2$1_at_reader3.wxs.nl>:

>In the old days (<=1999) a simple query like:
>select sysdate-entrydate from members; wen't OK.
>It displayed the number of days between to date and the entrydate of a
>member.
>
>Now in 2000 it is giving idiot results. To be more specific:

i will bet that "entrydate" is not a date datatype. if it were, then you could subtract it from "sysdate" forever. if it isn't, then you must cast one or the other to the Y2K compliant date format. lesson: store dates in date datatype.
--
dave mausner Received on Thu Feb 03 2000 - 20:30:10 CST

Original text of this message

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