Re: Error msg
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 17 Nov 2005 20:20:47 +0000 (UTC)
Roy (Roy@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
> I have corrected my stored procedures with what you said. But I still get
> same error. Below is my stored procedure code:
I'm afraid that I'm running out of ideas. Well, one last straw: could
there be triggers on the table producing result sets?
But in my experience, it's always a good idea to get all result sets,
one or another. In the naked OLE DB API, I prefer to use IMulipleResults
and the iterate over IMultipleResults->GetResult until it retuns
DB_S_NORESULT. In an interface like ADO you would iterate over
..NextRecordset or just simply adExecuteNoRecords to discard everything.
Exactly how you do this in the consumer templates, I don't know, but
you might able to make that out.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Re: Error msg
- From: Erland Sommarskog
- Re: Error msg
- From: Erland Sommarskog
- Re: Error msg
- From: Erland Sommarskog
- Re: Error msg
- From: Roy
- Re: Error msg
- Prev by Date: Re: Samplclnt example in MDAC 2.8: My Story
- Next by Date: Who uses atl consumer templates?
- Previous by thread: Re: Error msg
- Next by thread: Re: Apartment model OLEDB Provider
- Index(es):
Relevant Pages
|