Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Location
    Warsaw / Poland
    Posts
    73

    Unanswered: SQL*Plus COLSEP problem

    Hi,

    I have the following problem: I need to have columns in sqlplus tab-separated. I've already tried this

    SQL> set colsep '\t'
    SQL> select 'a', 'b' from dual;

    But the result was

    '\t'
    -\t-
    a\tb

    How can I make \t interprated as X'09'? (set colsep x'09' doesn't work either)

    Thanks,
    Grzegorz

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    CHR(9)
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Mar 2004
    Location
    Warsaw / Poland
    Posts
    73

    CHR(9)?

    SQL> set colsep chr(9)
    SQL> select 'a', 'b' from dual;

    'chr(9)'
    -chr(9)-
    achr(9)b

    Maybe I've done something wrong?

    Thanks,
    Grzegorz

  4. #4
    Join Date
    Jan 2004
    Location
    Issy les Moulineaux, France
    Posts
    24
    SQL> set colsep ' '
    ( typing a TAB between quotes )

    Eric.

Posting Permissions

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