Article ID: 321255 - Last Review: February 22, 2007 - Revision: 4.2 FIX: ODBC Driver for SQL Server 2000 Incorrectly Returns SQL_SUCCESS on SQLDescribeParam()This article was previously published under Q321255 On This PageSYMPTOMS
When you use the Microsoft SQL Server driver that is included with Microsoft Data Access Components (MDAC) version 2.6 or 2.7, if you call the SQLDescribeParam function on a connection that is busy with results for another statement handle, SQL_SUCCESS is returned instead of SQL_ERROR. This problem does not occur with the SQL Server driver that is included with MDAC version 2.5. CAUSE
This problem occurs because the return code is not set to SQL_ERROR, even though you receive the following error message:
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
RESOLUTION To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 290211
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack MDAC 2.7The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Version Size File Name ----------------------------------------------------- 19-Apr-2002 2000.81.8508.0 356,352 bytes Sqlsrv32.dll 19-Apr-2002 2000.81.8508.0 90,112 bytes Sqlsrv32.rll 19-Apr-2002 2000.81.8508.0 24,576 bytes Odbcbcp.dll MDAC 2.6The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Version Size File Name ----------------------------------------------------- 26-Apr-2002 2000.80.617.0 475,217 bytes Sqlsrv32.dll 26-Apr-2002 2000.80.617.0 90,112 bytes Sqlsrv32.rll 26-Apr-2002 2000.80.617.0 29,252 bytes Odbcbcp.dll WORKAROUNDTo work around this problem, use one of the following methods:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3. MORE INFORMATIONSteps to Reproduce the Behavior
APPLIES TO
| Article Translations
|
Back to the top
