Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to autosize the result columns to as small as needed in sqlplus ?

pstein-JavaNetMay 18 2007 — edited Feb 6 2008
When I perform a command in sqlplus the resulting table contains often
columns with a e.g. VARCHAR(80) type. Practically these columns hardly ever contain a value of width 80. However the columns are displayed with width 80
but only the leftmost characters are filled. How can I shrink the displayed column width to the width used by the longest value in it ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2007
Added on May 18 2007
10 comments
7,836 views