Home » SQL & PL/SQL » SQL & PL/SQL » Formatting result of select query
Formatting result of select query [message #9989] Thu, 18 December 2003 23:38 Go to next message
John varghese
Messages: 1
Registered: December 2003
Junior Member
Hi,
on firing the query
"select * from user_master;" on the sql prompt
the display is not very organized.
It is something like this:

USERID USERNAME T FACTORYCOD GRADE
---------- ---------------------------------------- - ---------- -----
PWD PSWEXPDAT EMAILID
--------------- --------- --------------------------------------------------
LOGINCREA VENDORCODE USERDISABLED AUTHENTICATED RECEIVEACK LASTLOGGE ROLEID
--------- ---------- ------------ ------------- ---------- --------- ----------
PERMISSION
--------------------------------------------------------------------------------
DIVISIONCODE
-------------------------
e55 hhjbjb C f123
rr 22-DEC-03 hh@cg.com
19-DEC-03 0 0 0 19-DEC-03 1

USERID USERNAME T FACTORYCOD GRADE
---------- ---------------------------------------- - ---------- -----
PWD PSWEXPDAT EMAILID
--------------- --------- --------------------------------------------------
LOGINCREA VENDORCODE USERDISABLED AUTHENTICATED RECEIVEACK LASTLOGGE ROLEID
--------- ---------- ------------ ------------- ---------- --------- ----------
PERMISSION
--------------------------------------------------------------------------------
DIVISIONCODE
-------------------------
abc
S1

Can we format it somehow?

Thanks
Re: Formatting result of select query [message #9992 is a reply to message #9989] Fri, 19 December 2003 01:33 Go to previous message
Barbara Boehmer
Messages: 9090
Registered: November 2002
Location: California, USA
Senior Member
You can user the LINESIZE ... and COLUMN ... FORMAT ... commands to make your line bigger and/or make the columns smaller.
Previous Topic: help needed
Next Topic: change the name of column
Goto Forum:
  


Current Time: Thu Apr 25 13:13:52 CDT 2024