Article ID: 248745 - View products that this article applies to.
This article was previously published under Q248745
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 53778 (SQLBUG_70)
Under the following conditions, an application written with the DB-Library API using cursors may cause syntax errors as well as the cursor not being created:
Msg=170 Severity=15 State=1
Line 1: Incorrect syntax near '??'.
Msg=16945 Severity=16 State=1
The cursor was not declared.
Passing the binary datatype as a character type and converting it in the stored procedure works if the data does not contain any extended characters that could be translated through ANSI to OEM settings.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Contact us for more help
Connect with Answer Desk for expert help.