Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> NLS_DATE_FORMAT and RR : Doesn't work !
I've set NLS_DATE_FORMAT to dd-mon-rr instead of dd-mon-yy in my initxxx.ora
in order to deal with Y2K problems. I've shutdowned and restarted the base
(7.3.3) but it doesn't seem to works as I intented it to :
select to_char(to_date('01-dec-01'),'dd/mm/yyyy') from dual;
give the following output :
01/12/1901
Why ? Is the NLS_DATE_FORMAT only for output ?
Thanks for your help.
E.G.
8 Rue des Montées | Phone : [33] (0)2 38 56 42 72 45100 Orléans | Email : emmguyot_at_altavista.net France | ICQ : 6945538 -----------------------------------------------------------------------Home Page : http://perso.wanadoo.fr/emmanuel.guyot/belote