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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle select statements

Re: Oracle select statements

From: Mike S. <mis1965_at_yahoo.com>
Date: Tue, 02 Nov 1999 05:35:47 GMT
Message-ID: <381e77c4.51682815@news.metro.net>


Assuming you are using SQL*PLUS, try

    SET COLSEP '' (single quotation marks, no space in between).

Hope this helps.

On Mon, 01 Nov 1999 20:43:29 GMT, delonte_at_my-deja.com wrote:

>I have been trying to create a text data-file by spooling the results of
>a select statement to file. The problem is, Oracle puts a space between
>the returned columns of a select statement. I know about concatenating
>columns using '||', but that gets rid of all spaces between the selected
>fields, not just the one being inserted by oracle.
>
>Is there a way to get rid of the space between columns, which are being,
>added to separate data elements while maintaining the spaces within the
>field when oracle returns SQL results?
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
Received on Mon Nov 01 1999 - 23:35:47 CST

Original text of this message

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