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: How to display date and time from 'Select Sysdate...'

Re: How to display date and time from 'Select Sysdate...'

From: Gary Assa <gsa_at_panix.com>
Date: 1997/08/04
Message-ID: <5s4mn6$mko@panix.com>#1/1

>SELECT SYSDATE FROM DUAL;
>unexpected output
>01-AUG-97
>expected output
>01-AUG-97 12:35AM.
>

 select to_char(sysdate,'DD-MON-YY HH:MMAM') from dual;

-- 
                     ------------------------------------
If you have a condom and sunscreen SPF 15 or greater, than it's safe to look at
                     http://www.panix.com/~gsa/index.html
Received on Mon Aug 04 1997 - 00:00:00 CDT

Original text of this message

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