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: OCI bind: dont want trailing spaces

Re: OCI bind: dont want trailing spaces

From: Peter Dickmann <pdickmann_at_de.lhsgroup.com>
Date: 2000/05/26
Message-ID: <392e350f@news.lhsgroup.com>#1/1

You need to specify the external datatype SQLT_STR (=5) when issuing the OCIDefineByPos() call, this will result in null-terminated non blank-padded strings. Check the manual for details.
Peter
<orauser_at_my-deja.com> wrote in message news:8gjtae$mk6$1_at_nnrp1.deja.com...
> Hi,
>
> I am selecting a value and I get trailing spaces in
> my buffer. Is there any way to turn this off?
>
> Thanks!
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri May 26 2000 - 00:00:00 CDT

Original text of this message

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