Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171870

From BetaArchive Wiki
Knowledge Base

FIX: SQL_CUR_USE_IF_NEEDED Does Not Work with 2.0 Drivers

Article ID: 171870

Article Last Modified on 8/27/1999


  • Microsoft Open Database Connectivity 3.0

This article was previously published under Q171870

BUG #: 4538 (odbc30)


If SQLSetConnectOption(SQL_ODBC_CURSORS, SQL_CUR_USE_IF_NEEDED) is set and you are using an ODBC 3.0 Driver Manager with a 2.X driver, the ODBC Cursor Library is not loaded. This causes applications that rely on the Cursor Library implementation of ExtendedFetch to fail.


To work around this problem, use SQLSetConnectOption(SQL_ODBC_CURSORS, SQL_CUR_USE_ODBC) to load the ODBC Cursor Library.


Microsoft has confirmed this to be a problem in Microsoft Open Database Connectivity version 3.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft Open Database Connectivity, version 3.0. For more information, contact your primary support provider.

Additional query words: SQLExtendedFetch Static

Keywords: kbbug kbfix kbinterop KB171870