Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: How to generate a "tab" value in SQL*Plus

Re: How to generate a "tab" value in SQL*Plus

From: SJ Emmons <SEmmons_at_remove_nospam.maracis.co.uk>
Date: Wed, 20 Sep 2000 11:13:11 +0100
Message-ID: <CEF12C53318CD2119ABE0090272310CA027383@MARACISFS>

Try:

SELECT column1 || CHR(9) || column2 || CHR(9) , etc.

HTH

--
S Emmons

Susie Grace <hlng_at_usa.net> wrote in message
news:8q8s7s$qn9$1_at_nnrp1.deja.com...

> I want to generate a "tab" between columns in SQL*Plus, in order to
> spool a flat file that can be imported into Excel.
>
> What happens frequently is that commas and other keyboard values are
> commonly typed in column values; this can confuse Excel as to what is
> the actual column separator.
>
> I wish to do a Select column1, "tab", column2, "tab", and so forth,
> replacing "tab" with the equivalent of what translates into a tab.
>
> Thanks in advance.
Received on Wed Sep 20 2000 - 05:13:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US