VIEW TABLE OUT IN TERMINAL [message #643386] |
Tue, 06 October 2015 13:35 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/a4346cb25ea10ca74374469ef1e8bfb0?s=64&d=mm&r=g) |
sabsac
Messages: 9 Registered: October 2015 Location: I
|
Junior Member |
|
|
I am unable to view all the HR schema 'EMP table' columns and part of the data is going beyond the print screen. what is optimum page width and line size to be able to view the data of all the columns I one screen view.I am using oracle command line.set wrap off or on is not helping
|
|
|
|
|
|
|
|
|
Re: VIEW TABLE OUT IN TERMINAL [message #643433 is a reply to message #643429] |
Wed, 07 October 2015 08:18 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
vertical scroll sure, horizontal not so much, unless you're running the old gui sqlplus. If you're running it from cmd or putty or similar it'll just wrap the lines.
|
|
|
Re: VIEW TABLE OUT IN TERMINAL [message #643439 is a reply to message #643386] |
Wed, 07 October 2015 09:32 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/142827.png) |
thatjeffsmith
Messages: 81 Registered: July 2009 Location: Raleigh, NC
|
Member |
![thatjeffsmith](/forum/theme/orafaq/images/twitter.png)
|
|
We're working on a new command line interface called SQLcl.
It has a mode that will auto-format your query results, page by page.
No column or linesize formatting required.
If you're curious...
http://www.slideshare.net/hillbillyToad/sqlcl-overview-a-new-command-line-interface-for-oracle-database
Slide 26 in particular...
SQL> set sqlformat ansiconsole
SQL> select Employee_Id ,
2 First_Name ,
3 Last_Name ,
4 Email ,
5 Phone_Number ,
6 Hire_Date ,
7 Job_Id ,
8 Salary ,
9 Commission_Pct ,
10 Manager_Id ,
11 Department_ID
12 from hr.employees
13 fetch first 10 rows only;
|
|
|
Re: VIEW TABLE OUT IN TERMINAL [message #643449 is a reply to message #643433] |
Wed, 07 October 2015 10:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/102589.gif) |
Michel Cadot
Messages: 68733 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
cookiemonster wrote on Wed, 07 October 2015 15:18vertical scroll sure, horizontal not so much, unless you're running the old gui sqlplus. If you're running it from cmd or putty or similar it'll just wrap the lines.
Sure?
![/forum/fa/12880/0/](/forum/fa/12880/0/)
![/forum/fa/12879/0/](/forum/fa/12879/0/)
As you can see I can scroll the output.
An if you look at the scroll bar, I can scroll much (up to 9999 characters).
This is no more old sqlplus, it is the lone one, now (it kills all other SQL*Plus variants ).
-
Attachment: OraFAQ2.jpg
(Size: 56.34KB, Downloaded 2966 times)
-
Attachment: OraFAQ1.jpg
(Size: 71.77KB, Downloaded 2998 times)
|
|
|
|
|
|