BUG: SQL_PRESERVE_CURSORS Fails on Reuse of a Connection Handle (175966)
The information in this article applies to:
- Microsoft SQL Server 6.5
- Microsoft Open Database Connectivity 3.0
This article was previously published under Q175966
BUG #: 17471 (6.50)
SYMPTOMS
If you reuse a previously used connection handle and attempt to preserve
cursors over transaction boundaries (that is, if the SQL Server driver
connect option SQL_PRESERVE_CURSORS is used), the following error occurs:
[Microsoft][ODBC Driver Manager] Function sequence error
WORKAROUND
To work around this problem, do not reuse connection handles if you need to
preserve cursors. Instead, close the handle and reopen a new one for
preserve cursor operations.
STATUS
Microsoft has confirmed this to be a problem in SQL Server version 6.5 and
Open Database Connectivity version 3.0. We are researching this problem and
will post new information here in the Microsoft Knowledge Base as it
becomes available.
Modification Type: | Major | Last Reviewed: | 5/20/2003 |
---|
Keywords: | kbBug kbcode kbProgramming KB175966 |
---|
|