Article ID: 248745 - Last Review: March 14, 2006 - Revision: 2.1 FIX: DB-Library Cursors on Stored Procedures May not be CreatedThis article was previously published under Q248745
BUG #: 53778 (SQLBUG_70)
SYMPTOMS
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. WORKAROUND
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.
STATUS
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: 254561
(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 For more information, contact your primary support provider.
| Article Translations
|
Back to the top
