Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Urgent!! Date format change
In article <38ed9ced_2_at_news1.prserv.net>,
"Mike Ng" <mike_at_email.tech-trans.com> wrote:
> Hi all,
>
> I want to use the date format like this "DD-MM-YYYY HH24:MI:SS" but I
need
> use the sql
> "alter session set nls_date_format='DD-MM-YYYY HH24:MI:SS" to setup
the
> environment every time I login.
>
I amy be missing the point here BUT why can't you just do a select with
a TO_CHAR? e.g.
SELECT TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS)
FROM DUAL
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Apr 07 2000 - 00:00:00 CDT