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 set col width in a query

Re: How to set col width in a query

From: Roland Knapp <rknapp_at_de.oracle.com>
Date: Wed, 15 Apr 1998 17:18:23 +0100
Message-ID: <3534DDCF.C70A1EFE@de.oracle.com>


Hi Jo,

in SQL*PLUS you cannot change the col during running a query, only before you
start the query you can format the output with col.

col columnname format a10 as example

RO

Joe Condle wrote:

> I know this is probably a newbie question. I have searched
> the documentation and can not find the answer. The question is
> how can I change the default column width in a query. The column
> widths in my database were made to large enough for the biggest
> piece of data. Most of the time thought they are alot narrower.
> I am looking for a SQL addition to the select statement that would
> allow me to vary the col widith localy in a query.
>
> Thank You
>
> Joe Condle
> Sys Engr
> Medical ARchival Systems, Inc.
> University of Pittsburgh Medical Center
Received on Wed Apr 15 1998 - 11:18:23 CDT

Original text of this message

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