Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to increase the space in DATE?
I like to change the format of DATE. The default one is "DD-MON-YY"
(e.g., today is 27-APR-99). I like to change it to "DD-MON-YYYY".
In file init<SID>.ora, I added the line
NLS_DATE_FORMAT = "DD-MM-YYYY" then, I restarted the instance.
I got the output 27-APR-19. It seems the default space to display a DATE
variable
is only 9 digits. Does anybody know how to increase the space? Thanks in
advance.
Grace Tsai
Brookhaven National Lab
Received on Tue Apr 27 1999 - 12:08:12 CDT
![]() |
![]() |