Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: WORD WRAPPING IN VARCHAR2 STRINGS
On 12 Jan 1998 20:36:41 GMT, "P Smith" <psmith_at_ppg.com> wrote:
>I have some varchar2(211) attributes which I wish to print on paper in a
>report. Is there a way to have word wrapping in SQLPLUS.
>
>Any advise will be appreciated
>--
You just need to format the column to specify the width that you want and use the WORD_WRAPPED clause. So, if you want to set the column width to 30 characters, you would do something like the following:
COLUMN column_name FORMAT A30 WORD_WRAPPED
Hope this helps.
Grue Received on Mon Jan 12 1998 - 00:00:00 CST
![]() |
![]() |