Article View: borland.public.cppbuilder.database.ado
Article #844Re: TADOQuery problem with send XML <?xml ...> paramcheck=false doesn't work
From: Viatcheslav V. Vassiliev
Date: Wed, 15 Jun 2005 20:45
Date: Wed, 15 Jun 2005 20:45
23 lines
1923 bytes
1923 bytes
Use parameters and pass your XML as parameter. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Grzegorz" <mystuff@o2.pl> �������/�������� � �������� ���������: news:42b0629b@newsgroups.borland.com... > Hello, > I want to save in MySQL Database a XML string, I am using TADOQuery, and > when I execute ExecSQL function i get an error (too few parameters) This > error is generate by a "?" (question mark) in XML string, sometimes ago i > had similar problem but then i used dbExpress (TSQLQuery) i set > checkparams= false and it worked. I was searching in Google but without > resultats. > > sorry for my poor english, > best regards Gregory Jakubowski >
Technical Details
Message-ID:
<42b09368@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42b0629b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,e58a91d16d8a9027 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <42b0629b@newsgroups.borland.com> Subject: Re: TADOQuery problem with send XML <?xml ...> paramcheck=false doesn't work Date: Thu, 16 Jun 2005 00:45:29 +0400 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 85.93.138.132 Message-ID: <42b09368@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118868328 85.93.138.132 (15 Jun 2005 13:45:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail