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: Y2K bug?

Re: Y2K bug?

From: Randy DeWoolfson <randy_at_euclidsys.com>
Date: 2000/07/10
Message-ID: <396A3FFE.A3BAE1D1@euclidsys.com>#1/1

I bet the problem is with your data in hiredate. I bet the bug is in the code that populates this data. I bet the code did not explicitly set the year value.

randy

Eric Cheng wrote:

> Hi fellows,
>
> I have a question for you.
> Please try to run the following command and le me know what you get.
>
> 1. select ename, SYSDATE, hiredate, (SYSDATE-hiredate)/7 WEEKS
> 2. from emp
>
> All I got are negative numbers, however are we supposed to get
> positive numbers? Is this a Y2K bug?
> IMO, the current date minus hiredate should be positive numbers.
> I am using ORACLE8i on Redhat, I haven't tried this on NT yet.
> Maybe you already ran into this one.
> Thanks!
>
> Eric Cheng
Received on Mon Jul 10 2000 - 00:00:00 CDT

Original text of this message

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