Solved

Oracle SQL*PLUS

Posted on 2011-03-24
4
411 Views
Last Modified: 2012-05-11
I have just basic question on SQL PLUS. Is there a way in SQL Plus to change the display when a query or view is run? It all runs together on result sets that return lots of information. Thanks.
0
Comment
Question by:dodgerfan
4 Comments
 
LVL 4

Assisted Solution

by:Alex Matzinger
Alex Matzinger earned 250 total points
ID: 35207262
You can set the page size using set pagesize <#>.  You can also change the column widths of the query using set column <name> a#.   Also extending the line might help as well. Try set linesize # for thar
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 250 total points
ID: 35207268
there are lots of formatting commands in sql*plus.

you can adjust pagesize, linesize, etc.

Check here
http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/toc.htm

in particular chapter 6  on formatting and chapter 12 for the complete command reference

if you have a specific example I can help with that
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 35207530
Sqlplus is great but there are tools as well if you want to use a GUI version without having to set the parameters above. You can use the free tools like SQLDeveloper and SQLTools.
0
 

Author Closing Comment

by:dodgerfan
ID: 35207668
Thanks for the help.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question