Last updated on OCTOBER 28, 2016
Applies to:SQL*Plus - Version: 9.2 to 184.108.40.206
This problem can occur on any platform.
Exported from the 220.127.116.11 (WE8ISO8859P1) database, and imported that into a new 18.104.22.168 (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 22.214.171.124).
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms