Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to change nls_session_parameters?

Re: How to change nls_session_parameters?

From: vincent <vroquencourt_at_businessobjects.com>
Date: Fri, 09 Apr 1999 11:15:40 +0200
Message-ID: <370DC53C.609A3ECD@businessobjects.com>


you need to set this parameter in your initSID.ora parameter file NLS_DATE_FORMAT = 'YYYY-MM-DD' Andrew Weinstein wrote:

> This is for Oracle 8.0.4 running on NT:
>
> 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
Received on Fri Apr 09 1999 - 04:15:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US