Microsoft KB Archive/169468

From BetaArchive Wiki
Knowledge Base


BUG: SQL Server ODBC Driver AVs When Inserting from a Remote SP

Article ID: 169468

Article Last Modified on 7/27/2001



APPLIES TO

  • Microsoft ODBC Driver for Microsoft SQL Server 2.65



This article was previously published under Q169468

BUG #: 16924 (SQL)

SYMPTOMS

The SQL Server ODBC driver may generate an access violation (AV) error if an application is inserting data from a remote stored procedure that contains ORDER BY clause. The access violation occurs when the application calls SQLExecDirect or SQLPrepare/SQLExecute to execute the INSERT statement.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft SQL Server ODBC driver version 2.65. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

To work around this problem, remove the ORDER BY clause from the remote stored procedure.


Additional query words: SQLFetch SQLExecDirect 2.65.240

Keywords: kbbug kbprogramming KB169468