Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting the width of line in sql*plus

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
0
0
GB
Hi when I do a select * from myTable I've got so many columns that it gets confusing.

How do I change the formating.

I think its something like set linesize = 500

but that doesn't work. I get the error

"SP2-0268: linesize option not a valid number"

from that.

 
almost, use this:
SET LINESIZE 500

if you want to make the columns smaller use the column command.
e.g. to get a text field from 100 down to 20 you wuold type:

column my_column format a20
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top