How do I shorten the type
and name
column when using the desc
command?
SQL> desc owner
Name Null?` Type
----------------------------------------------------------------- -------- --------------------------------------------
OWNER_NUM NOT NULL CHAR(4)
LAST_NAME CHAR(50)
FIRST_NAME CHAR(20)
ADDRESS CHAR(15)
CITY CHAR(15)
STATE CHAR(2)
ZIP CHAR(5)
It's really inconvenient when I have the command window snapped to half my screen.
Update
Using column Type format a15
doesn't work.
My line size is already set to 120. Column commands work on all other tables I have encountered but the table retrieved from desc
doesn't respond to column commands in the syntax I tried above.
Update
set wrap off
doesn't work either.