Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 8.0.5 and Date formats
Jason Lee wrote
>How does one go
>about getting Oracle to accept a date in a yyyy-mm-dd format
>permanently?
Permanently? You cannot, as any user setting overrides the server setting. One could set NLS_DATE_FORMAT on the server (any Unix user might simply override it in .profile) but an ALTER SESSION would be the only fool proof option I guess.
Note that the factory default date format uses MON, not MONTH, which implies that Oracle would expect JUL, not JULY like you typed. However, as Oracle uses some logic to try other formats when the given one fails, July is bound to be accepted as well.
Arjan. Received on Tue Mar 02 1999 - 15:59:37 CST
![]() |
![]() |