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: Question about SYSDATE

Re: Question about SYSDATE

From: Nicolas Bronke <news_at_trinity.de>
Date: Thu, 16 Sep 1999 13:44:34 +0200
Message-ID: <37e0cbe4@news2.prserv.net>

> I have a table xxx with column yyy, which is specified as DATE, and the
> default value is set to SYSDATE. Problem is, I get the date like DD-MM-YY,
> put I need date and time like DD-MM-YYYY HH24:MI:SS. What I have done
wrong?
>

Additional hint:

Set the NLS_DATEFORMAT via alter session to your requested format.

Then every date will be displayed in this format.

regards
Nicolas Bronke Received on Thu Sep 16 1999 - 06:44:34 CDT

Original text of this message

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