Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Question on NLS_DATE_FORMAT
Oracle 8i. When I do a select to_char(sysdate) from dual, I get '06-
APR-00' I would like the year to be 2000.
I can do an alter session, set nls_date_format = 'DD-MON-YYYY' and ok. But I want this to be consistent for every session, stored proc, package, etc.
I have gone into my init.ora and set the nls_date_format and restarted the instance. I can even use svrmgrl and do a show parameters NLS and see that the format is correct.
Why would the date still be returning in 00 format vs 2000?
Thanks,
Sean
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Apr 06 2000 - 11:31:07 CDT