Re: asychronous OLEDB
- From: Alberto Demichelis <AlbertoDemichelis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 2 May 2007 04:08:01 -0700
Thanks for the reply.
However, I already read that reference before. I did quite a bit of search
and looked at several books before I posted and seem that nobody has ever
used OLEDB asynchronously.
Somehow I do not feel confident to use features of a technology that has no
sample neither a extensive doc. I can't base the foundation of my data access
to some personal assumption on how OLEDB works.
About the ODBC, I have to look into it, but I have a full OLEDB
driver/marshaller for my app platform I hoped I could avoid rewriting/retest
the whole thing.
Any MS guy around here that knows about some OLEDB async sample?
thanks for your time
Alberto Demichelis
"Erland Sommarskog" wrote:
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
- References:
- Re: asychronous OLEDB
- From: Erland Sommarskog
- Re: asychronous OLEDB
- Prev by Date: oledb and dates in vb.net 2003
- Next by Date: Re: Command Object and IColumnsRowset
- Previous by thread: Re: asychronous OLEDB
- Next by thread: Re: asychronous OLEDB
- Index(es):
Relevant Pages
|