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: Y2K problem with sysdate

Re: Y2K problem with sysdate

From: Michael Puente <mcpuente_at_cis.com.ph>
Date: Tue, 11 Jan 2000 09:06:05 +0800
Message-ID: <387A81FD.4DA39493@cis.com.ph>


what exactly is your problem with this? in this data format the first two digits of the year is truncated but if you use to_char, you will see that the data will still be correct.

Deepa Dinendra wrote:

> We recently moved from sgi to sun and from oracle7.x to 8i for Y2k
> compliance.
> All the programs were recompiled and worked fine till Dec.30th. The
> problem came up when the programs were used for the first time after
> Jan.2000. Nothing was changed since the compiling to the programs.
>
> I checked the NLS_DATE_FORMAT by
> select * from V$NLS_PARAMETERS where parameter = 'NLS_DATE_FORMAT';
>
> The result is:
> NLS_DATE_FORMAT DD-MON-YY
>
> -Deepa
>
> Chris wrote:
> >
> > What's your platform and OS?
> >
> > What's your Oracle version number?
> >
> > What's your default NLS date format? Since you appear to have a 15
> > character format, I am guessing 'DD-MON-YYHH:MI'. If you want a 4 digit
> > year, use YYYY, to maintain a two digit year, use RR. If you expand to
> > YYYY, you will need two extra characters in your varchar. Have you done
> > any Y2K work on this at all?
> >
Received on Mon Jan 10 2000 - 19:06:05 CST

Original text of this message

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