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: sqlplus does not display time portion from a date column

Re: sqlplus does not display time portion from a date column

From: Ken Denny <ken_at_kendenny.com>
Date: Thu, 30 Oct 2003 16:41:37 GMT
Message-ID: <Xns942476CF4D99Akendenny@216.77.188.17>


dsmcd <dsmcd_at_stopspamdormouse.net> wrote in news:E1bob.151$Bi3.26527 @news.uswest.net:

> Hello...
>
> Sqlplus and Sqlplusw do not display the time part of a date
> column, I just get the dd-MM-yy.
>
> 817 on Win2k. Any suggestions?
>
> Thx,
> D.

alter session set nls_date_format='MM/DD/YYYY HH24:MI:SS';

You can put in in your login file so it happens automatically whenever you bring up sqlplus.

-- 
Ken Denny
http://www.kendenny.com/
Received on Thu Oct 30 2003 - 10:41:37 CST

Original text of this message

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