showing only one column in each row, Sqlplus

504 Views Asked by At

I am trying to display tables in Oracle properly, but it only shows one column each row.

    SQL> select * from Manager;

FAMILYNAME
--------------------------------------------------
PERSONALNAME
--------------------------------------------------
    SALARY
----------
Sung
Sam
     56000

Smith
Darwin
     54000

P. Fries
Chris
     63000

Williams
Sean
     43000

I tried to adjust linesize and pagesize, but it doesn't help. Is there anyway that I can let it print table properly?

1

There are 1 best solutions below

0
Littlefoot On

Yes; specify column format, e.g.

col familyname format a15
col personalname format a15

Then run the select statement again.