PRB: ADO Parameters.Refresh Fails with MSDAORA Provider and Parameterized Query (240205)
The information in this article applies to:
- Microsoft OLE DB Provider for Oracle 2.0
- Microsoft OLE DB Provider for Oracle 2.1
- Microsoft OLE DB Provider for Oracle 2.5
- Microsoft OLE DB Provider for Oracle 2.6
- Microsoft OLE DB Provider for Oracle 2.7
This article was previously published under Q240205 SYMPTOMS
When you use ActiveX Data Objects (ADO), you can call the Parameters.Refresh method for a parameterized SELECT statement. When you are using the Microsoft OLE DB Provider for Oracle (MSDAORA), this may return the following error:
The Provider cannot derive parameter info and SetParameterInfo has not been called.
The HRESULT error code is DB_E_PARAMUNAVAILABLE (0x80040e51).
CAUSE
The Microsoft OLE DB Provider for Oracle does not derive parameter information.
RESOLUTION
If you need this functionality, use the OLE DB Provider for ODBC and the Microsoft Oracle ODBC driver.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbDatabase kbOracle kbprb kbProvider KB240205 |
---|
|