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: Adding Blank Spaces in Stored Procedures

Re: Adding Blank Spaces in Stored Procedures

From: Kees Verruijt <kees_at_redwood.nl>
Date: 1997/07/28
Message-ID: <33DCB38A.3A8B548E@redwood.nl>#1/1

Nilima Desai wrote:

> Hello,
>
> I need to add spaces between fields when I am appending to the text
> file,
> or, if the field is empty, I want to assign blank spaces based on the
> length of the field. I have tried an IF statement that checks for each
>
> field, and if it is null it inserts blank spaces using open and
> close quotes.
>

Oracle doesn't store trailing spaces in VARCHAR2 columns. Use CHAR instead.

Kind regards,

Kees Verruijt Received on Mon Jul 28 1997 - 00:00:00 CDT

Original text of this message

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