I need to change the default date from "DD-MON-YY" to "YYYY-MM-DD". When I
try the following update query:
UPDATE NLS_SESSION_PARAMETERS SET VALUE = 'YYYY-MM-DD' WHERE PARAMETER =
'NLS_DATE_FORMAT'
I receive the following exception:
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
I looked through the documentation and it goes through this long involved
process with the NLS Configuration utility.
"The NLS Configuration Utility is invoked from the command line with the
following syntax:
LXBCNF [ORANLS=pathname] [userbootdir=pathname]
[DESTDIR=pathname] [HELP=[yes |no]]"
When I do a dir on lxbcnf*.* I don't even get a hit on this file.
Can anyone offer some help on how to change the default date format?
Thanks in advance,
Andrew Weinstein
Dallas, TX
ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD';
Andrew Weinstein <and...@anet-dfw.com> a écrit dans le message :
92341323...@news.remarQ.com...
Anyone else agree?
Jérôme Texier wrote in message <7edcon$dbr$1...@jaydee.iway.fr>...
I've the some problem as well on NLS_DATE_FORMAT. I did change on
initSID.ora but
it was not changed when I connect to DB.
Then I refer to Data Dictionary,
NLS_INSTANCE_PARAMETER shows NLS_DATE_FORMAT = 'DD-MM-YYYY'
but
NLS_SESSION_PARAMETER shows NLS_DATE_FORMAT = 'DD-Mon-YY' (default
value)
Can anyone help me on this. Thank You
Wean
vincent wrote:
--
************************* HAVE A NICE DAY ! **************************
Lim Huay Wean
Novasprint Systems Sdn Bhd
22.04 Menara Shahzan Insas
30 Jalan Sultan Ismail
50250 Kuala Lumpur
MALAYSIA
Tel: (603) 248 2787
Fax: (603) 248 2821
E-mail: li...@novasprint.com
********************* Don't Worry! Be Happy! ************************