OLE DB Programming
Get flash to fully experience Pearltrees
The following topics show how to edit the files created by the MFC Application Wizard and ATL OLE DB Consumer Wizard to create a simple consumer.
Before you open the rowset, you must tell the provider that you want to use bookmarks.
Executing a command multiple times is a very common scenario if the command is a parameterized query.
Applications designed to asynchronously open the result from the execution of a command can set the DBPROPVAL_ASYNCH_INITIALIZE bit in the DBPROP_ROWSET_ASYNCH property.
Asynchronous processing enables methods to return immediately without blocking on the calling thread. Consumers request asynchronous processing when initializing a data source object or when opening or populating a rowset. The consumer must explicitly request asynchronous processing.
MySQL OLEDB Provider
Establishing the Connection
: VC++ 6.0, Service Pack 5 In my last article, I showed how to extend an OLE DB consumer template class and make it much easier to use in applications.
This article demonstrates how to use OLE DB consumer templates to insert NULL data into an SQL Server table by using a parameterized query. When you use the OLE DB consumer templates to insert NULL data, you must set the status of the input parameter to DBSTATUS_S_ISNULL. This sends the NULL value to the provider, and lets the provider ignore the contents of the value and length portions of the consumer buffer.
Consumers use several kinds of objects, which are described in the following topics: Before the consumer does anything, you first select an OLE DB provider that is appropriate for the type of database you need to access (for example, SQL, Oracle, ODBC, and MSDS).
Page Not Found Unfortunately the page you requested was not found. The following is the most likely location