Link to home
Create AccountLog in
Avatar of nobleit
nobleit

asked on

output

How can we see the output in a nicer way
I mean the alignment..the display
it is a broken view now..

SQL> select creation_time,name from v$datafile;

CREATION_
---------
NAME
--------------------------------------------------------------------------------
14-JUN-11
/u01/app/oracle/oradata/dbus/system01.log

14-JUN-11
/u01/app/oracle/oradata/dbus/sysaux01.log

14-JUN-11
/u01/app/oracle/oradata/dbus/undo01.log


3 rows selected.

SQL>
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

If you want all on same line:

Set linesize 256

Or some number large enough to hold the entire line.

Refer to the sqlplus docs for all the formatting options you have.
You can also set individual column lengths if columns wrap.  Check out the column command (col for short).
ASKER CERTIFIED SOLUTION
Avatar of Sean Stuber
Sean Stuber

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
also, you might want format your creation_times to get the time information

select to_char(creation_time,'yyyy-mm-dd hh24:mi:ss') creation_time,name from v$datafile;

Avatar of nobleit

ASKER

perfect..thanks
No split?  That is basically what I posted.