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: SQL*Plus display format question

Re: SQL*Plus display format question

From: David Fitzjarrell <oratune_at_aol.com>
Date: Fri, 26 Jan 2001 17:45:08 GMT
Message-ID: <94sd30$2ns$1@nnrp1.deja.com>

In our last gripping episode wax_man_at_my-deja.com wrote:
> I'm having a problem with the SQL*Plus display of to_char queries and
> am looking for some help. If I run select to_char
 (sysdate,'mm/dd/yyyy
> hh:mi:ss') as "date" from dual, I get the following as the responce:
>
> date
> ----------------------------------------------------------------------
 --
> ---
> 01/26/2001 12:24:39
>
> Does anyone know how to get the date to print w/o all of the extra
> spaces/dashes? The date is displayed this way wether it is by itself,
> or in the middle of a big select clause.
>
> Thanks for any help,
>
> wax_man
>
> Sent via Deja.com
> http://www.deja.com/
>

column "date" format a20

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com
http://www.deja.com/
Received on Fri Jan 26 2001 - 11:45:08 CST

Original text of this message

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