Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Location
    Virginia
    Posts
    13

    Question Unanswered: Formating column widths with SQLPlus

    How do you set column widths to (20 for example) using SQLPlus.
    Roger W. Johnson Jr.


  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: Formating column widths with SQLPlus

    Originally posted by rwj7p
    How do you set column widths to (20 for example) using SQLPlus.
    For a numeric column:
    COLUMN colname FORMAT 9999999999.999

    For a varchar2 column:
    COLUMN colname FORMAT A20

    You can also define different default wisth for ALL number columns:

    SET NUMWIDTH 20

  3. #3
    Join Date
    Oct 2002
    Location
    Virginia
    Posts
    13
    Thanks, just what I was needing
    Roger W. Johnson Jr.


Posting Permissions

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