Article View: borland.public.cppbuilder.database.ado
Article #1257Re: ADO and Oracle, Invalid Character
From: JFLund
Date: Tue, 07 Sep 2004 04:21
Date: Tue, 07 Sep 2004 04:21
21 lines
1725 bytes
1725 bytes
Never mind, I figured it out. It's the ';' at the end of the statement that Oracle didn't like. Seems weird, but when I remove it, all is well. I assume that's how it's supposed to work??? John Lund "JFLund" <JFLund@LundFamily.com> wrote in message news:413d2fbb$1@newsgroups.borland.com... >I am trying to use the ADO components of C++ Builder 6.0 to access an >Oracle database. When I Open() a query I get an error message (ORA-00911 - >Invalid character). Looking at the SQL->Text of the query, I see that >"\r\n" has been added to the end of my query statement, and it appears the >Oracle client doesn't like this. > > Does anyone know how to prevent the "\r\n" from being appended, or is that > possibly not the problem? > > Thanks > > John F. Lund >
Technical Details
Message-ID:
<413d3724$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<413d2fbb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f8b2acdb69a5a448 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "JFLund" <John@LundFamily.com> From: "JFLund" <JFLund@LundFamily.com> Newsgroups: borland.public.cppbuilder.database.ado References: <413d2fbb$1@newsgroups.borland.com> Subject: Re: ADO and Oracle, Invalid Character Date: Mon, 6 Sep 2004 22:21:11 -0600 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 168.103.185.6 Message-ID: <413d3724$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094530852 168.103.185.6 (6 Sep 2004 21:20:52 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail