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: align columns

Re: align columns

From: Lothar Armbruester <lothar.armbruester_at_rheingau.netsurf.de>
Date: 1998/02/05
Message-ID: <456.340T473T12863088@rheingau.netsurf.de>#1/1

On 05-Feb-98 16:54:08 HTrieu wrote:

>how do i right justify the output in a column?

I don't know exactly, but I think there is a function called lpad. Try this:

select lpad(your_column,30) from your_table;

This should right-justify the output in a field of 30 characters.

Hope that helps,

Lothar

--
Lothar Armbrüster       | lothar.armbruester_at_rheingau.netsurf.de
Schulstr. 12            | lothar.armbruester_at_t-online.de
D-65375 Oestrich-Winkel |
Received on Thu Feb 05 1998 - 00:00:00 CST

Original text of this message

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