Article View: borland.public.cppbuilder.database.ado
Article #2385Re: Strange EOutOfResources exception on TADOQuery
From: Frank
Date: Sat, 05 Jul 2003 16:51
Date: Sat, 05 Jul 2003 16:51
35 lines
1909 bytes
1909 bytes
"Frank" <wesNO@SPAMlibero.itNO> wrote: > >Hi, >I'm trying to execute the following query to an >Access database (the SQL is correct, I tried directly >inside Access): > >"SELECT S.cod, S.parent, S.tipo, S.cod_tab_tipo, (SELECT descr FROM > ( > SELECT 1 AS tp, cod, descr FROM Tab1 > UNION ALL > SELECT 2 AS tp, cod, descr FROM Tab2 > UNION ALL > SELECT 3 AS tp, cod, descr FROM Tab3 > > ) > WHERE tp = S.tipo AND cod = S.cod_tab_tipo >) AS descr >FROM Tab_Struct AS S" > > >When I open the query I get an EOutOfResources exception >with message "Unable to insert an item". >I never received this kind of message. I noticed that if >I delete the third SELECT of the three "UNION ALL" satements >it works. I have instead the necessity to add other SELECT >statements to that group.. >Any ideas? >Thanks, >Frank Proble solved, had nothing to do with ADO, sorry for the useless post. Frank
Technical Details
Message-ID:
<3f07020d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3f06f705@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,a4ca6b88cf3ee918 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-07-05 10:01:18 PST From: "Frank" <NOSPAMwesNO@libero.itSPAM> Sender: "Frank" <NOSPAMwesNO@libero.itSPAM> Reply-To: "Frank" <NOSPAMwesNO@libero.itSPAM> Subject: Re: Strange EOutOfResources exception on TADOQuery Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 217.133.204.134 217.133.204.134 References: <3f06f705@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f07020d$1@newsgroups.borland.com> Date: 5 Jul 2003 09:51:25 -0700 X-Trace: newsgroups.borland.com 1057423885 207.105.83.65 (5 Jul 2003 09:51:25 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail