Re: asychronous OLEDB
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Tue, 1 May 2007 09:07:58 +0000 (UTC)
Alberto Demichelis (AlbertoDemichelis@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
My questions are:
Is it possible to perform sn asychronous query? (I guess so I read
about it but found no sample)
Yes. This is a starting point:
http://msdn2.microsoft.com/en-us/library/ms724368.aspx
I have not worked with it myself, nor do I know of any samples.
Is it possible to be sure that resulting the recordset of a select is
alredy filled? (in the context of an asychronous query)
Not sure what you mean, but it appears that the way the consumer that
there is data to retrieve is by polling. As I understood it, you may find
a rowset that is not yet complete.
Alternatives to OLEDB?
ODBC is probably an interface that is easier to work with from a language
like C++, and ODBC also has asynchronous support. I have not used ODBC
that much myself, though.
--
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
.
- Follow-Ups:
- Re: asychronous OLEDB
- From: Alberto Demichelis
- Re: asychronous OLEDB
- Next by Date: oledb and dates in vb.net 2003
- Next by thread: Re: asychronous OLEDB
- Index(es):
Relevant Pages
|
|