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: a date question ?

Re: a date question ?

From: Daniel <delj_at_flash.net>
Date: Wed, 12 Jan 2000 17:41:43 GMT
Message-ID: <r13f4.1913$ro4.197861@news.flash.net>


Because you are using YY in your insert date mask, not RR.

Daniel
Austin, Texas

<tedchyn_at_yahoo.com> wrote in message news:85ibcp$7u5$1_at_nnrp1.deja.com...
> Sir: I have following date question:
>
> SQL> alter session set nls_date_format='dd-mon-rrrr';
>
> Session altered.
>
> SQL> insert into x_1 values(to_date('0199','mmyy'));
>
> 1 row created.
>
> SQL> select * from x_1;
>
> C1
> -----------
> 01-jan-2099
>
> Is there a way I am able to get 01-jan-1999 instead of 01-jan-2099 ?
> looks like rrrr did not work.
> thanks in advance
> ted chyn
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Jan 12 2000 - 11:41:43 CST

Original text of this message

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