DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Sql*plus Output

  1. #1
    Join Date
    Jan 2001
    Posts
    157

    Sql*plus Output

    How do I increase the width of a page in sqlplus?
    Example, if I issues select * from dba_tables, I would like to
    see most (if not all) the output on one line.

    Is there a set command that can be used to achive this?

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    show lines
    set lines xxx
    set linesize xxx

    set page xxx
    set pagesize xxx

    where xxx = a number. wide page? try around 110 to 130
    vertical length? try around 45-60

    set wrap off/on

    Oracle SQL*PLus, The Definitive Guide, O'Reilly. Buy it. Read it.

    SQL*Plus window on Windows - change environment setting is another way (Options>Environment)
    Last edited by stecal; 03-27-2003 at 06:46 PM.

  3. #3
    Join Date
    Dec 2002
    Posts
    36
    You can also set the width and length for the particular SQL*PLUS environment by clicking on options tab on top of the sqlplus page: i.e

    Options-->Environment-->scoll down to linesize;
    click on linesize-->custom=100
    scoll down to pagesize-->custom=24
    click OK

    reenter your select statement.

    You can play with these values to suit your needs.


    Roman33
    OCP 8,8i,9i

  4. #4
    Join Date
    May 2002
    Posts
    2,645
    Originally posted by roman33
    You can also set the width and length for the particular SQL*PLUS environment by clicking on options tab on top of the sqlplus page: i.e

    Options-->Environment
    Did I not just say that in the previous post? FYI, Options is not a "tab" on the window, it is a menu-driven item.

  5. #5
    Join Date
    Dec 2002
    Posts
    36
    You're right stecal, I missed your response line.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width