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

Home -> Community -> Usenet -> c.d.o.misc -> Re: NLS_DATE_FORMAT

Re: NLS_DATE_FORMAT

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 8 Feb 2000 10:36:25 +0100
Message-ID: <950002721.18112.0.pluto.d4ee154e@news.demon.nl>


Either change or add nls_date_format in the registry of the client in hklm\software\oracle (for all products) or include an alter session statement in your login.sql (for sqlplus only). Alter session is just what it says: it alters your session. You shouldn' t restart your session.

Hth,

Sybrand Bakker, Oracle DBA

jst <jsp_at_pobox.sk> wrote in message
news:950000332.718461_at_virtual.nextra.sk...
> How can I change NLS_DATE_FORMAT from "DD-mmm-YY" to e.g. "DD.MM.YYYY"? I
> want to insert SYSDATE into a table and see through the SELECT command in
> other format than default. I tried to set NLS_DATE_FORMAT = "DD.MM.YYYY"
in
> init.ora file, or ALTER SESSION SET NLS_DATE_FORMAT = "DD.MM.YYYY" and
> restart, but it does`nt work. I`m using Oracle 8.0.5 on Win NT.
>
> Thanks, Jan
>
>
>
>
Received on Tue Feb 08 2000 - 03:36:25 CST

Original text of this message

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