Article View: borland.public.cppbuilder.database.ado
Article #5013Re: Retrieving Results
From: Michael Crapo
Date: Tue, 21 Aug 2001 12:59
Date: Tue, 21 Aug 2001 12:59
38 lines
1998 bytes
1998 bytes
John Try this ADOCommand1->Connection = ADOConnection1; ADOCommand1->Parameters->Clear(); ADOCommand1->CommandText = WideString(Text); //Text = "util.set_psm_ack(3456,321,'Testing..')"; ADOCommand1->CommandType = cmdStoredProc; ADOCommand1->ParamCheck = false; ADODataSet2->Recordset = ADOCommand1->Execute(); On Mon, 20 Aug 2001 15:56:22 GMT, mcdonald@airtalk.com (John McDonald) wrote: >Hi, > >I am trying to execute a stored procedure in Oracle 8i that >returns an integer value. I can get the stored procedure >to execute OK but I cannot find the return value anywhere??? > > > ADOCommand1->Connection = ADOConnection1; > ADOCommand1->Parameters->Clear(); > ADOCommand1->CommandText = WideString(Text).Detach(); > //Text = "util.set_psm_ack(3456,321,'Testing..')"; > ADOCommand1->CommandType = cmdStoredProc; > ADOCommand1->ParamCheck = false; > ADOCommand1->Execute(); > ADODataSet2->Recordset = ADOCommand1->Execute(); > >Everytime ADODataSet2->Recordset = ADOCommand1->Execute(); >executes I recieve a stack overflow exception. How can I >retrieve the results from the stored procedure?? > >Thx, > >John
Technical Details
Message-ID:
<3b825ae6.627592@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3b8131d6.570235@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,79925ae67771c000 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-21 06:11:40 PST From: mcrapo@tng-ida.com (Michael Crapo) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Retrieving Results Date: Tue, 21 Aug 2001 12:59:45 GMT Message-ID: <3b825ae6.627592@newsgroups.borland.com> References: <3b8131d6.570235@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 207.170.242.1 X-Trace: dnews 998398874 207.170.242.1 (21 Aug 2001 06:01:14 -0700) Lines: 39 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews