Home » SQL & PL/SQL » SQL & PL/SQL » Re: NLS_DATE_FORMAT!!urgent
Re: NLS_DATE_FORMAT!!urgent [message #19563] Thu, 28 March 2002 08:00
shea
Messages: 1
Registered: March 2002
Junior Member
hey there you guys,

i saw this post on orafaq:

> hi
> I would like to know how to change the
default
> oracle format which is 'dd-mmm-yy' to some
> other format say 'dd-mmm-yyyy'
> I tried setting the NLS_DATE_FORMAT
parameter
> in the init.ora file and then stopped
> and started the services from the control
panel.But again when i give
> SELECT sysdate
> FROM dual
> the default format remains the same as
'DD-MMM-YY'.
>
> what else can i do to change the default date
format?
> please let me know.
>
> i cannot use ALTER SESSION
> SET NLS_DATE FORMAT='DD-MMM-YYYY'
>
> as this change will be applicable only to one
oracle session.
>
>
> thanx in advance
> sini

... i am actually in the same situation though i
am trying to change the default setting to:

'YYYY:MM:DD:HH24:MI:SS'

...as you say i cannot use "ALTER SESSION"
as that only changes the particular session.
additionally i have putting it in init$sys.ora
which doesn't seem to work, nor will setting
the environmental var.

any suggestions or guidance would be
supremely appreciated!

thank you both,

shea
Previous Topic: Temporary disable constaint on UPDATE
Next Topic: variables in where clause
Goto Forum:
  


Current Time: Wed May 08 17:11:48 CDT 2024