SELECTs of Columns in SQL*Plus Displayed too Wide for database 9.2
(Doc ID 272010.1)
Last updated on OCTOBER 28, 2016
Applies to:SQL*Plus - Version: 9.2 to 18.104.22.168
This problem can occur on any platform.
Exported from the 22.214.171.124 (WE8ISO8859P1) database, and imported that into a new 126.96.36.199 (UTF8) database.
Now when you select columns like tablespace_name (or from dba_rollback_segs, etc) in SqlPlus, the returned column value stretches across the 80 columns of screen (instead of just occupying the 30 characters it did under 188.8.131.52).
A desc of dba_tablespaces shows that the column length is set to 30 only:
TABLESPACE_NAME NOT NULL VARCHAR2(30)
Changing pagesize and linesize didn't help.
Explicitly setting the column format to A30 worked, but this should not be required since the column width is actually 30 only.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document