Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to make the spaces be gone?
In article <7ue4do$qkq$1_at_nnrp1.deja.com>,
jdufour_at_home.com wrote:
> Alex,
>
> Try this in your ListRecords()function.
>
> . . .
> . . .
> . . .
> char col_value5[15];
>
> EXEC SQL VAR col_value1 is string;
> EXEC SQL VAR col_value2 is string;
> EXEC SQL VAR col_value3 is string;
> EXEC SQL VAR col_value4 is string;
> EXEC SQL VAR col_value5 is string;
> . . .
> . . .
> . . .
>
> This assumes you have stored the data as varchar2 in the DB and it
does
> not contain trailing spaces.
>
[snip]
EXEC SQL VAR col_value1 is string; EXEC SQL VAR col_value2 is string; EXEC SQL VAR col_value3 is string; EXEC SQL VAR col_value4 is string; EXEC SQL VAR col_value5 is string;
Thanks,
Alex
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Oct 18 1999 - 03:39:41 CDT