🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1256

ADO and Oracle, Invalid Character

#1256
From: JFLund
Date: Tue, 07 Sep 2004 03:49
12 lines
1354 bytes
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: <413d2fbb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f8b2acdb69a5a448,start
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
Subject: ADO and Oracle, Invalid Character
Date: Mon, 6 Sep 2004 21:49:35 -0600
Lines: 14
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; Original
NNTP-Posting-Host: 168.103.185.6
Message-ID: <413d2fbb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094528955 168.103.185.6 (6 Sep 2004 20:49:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail