FIX: Sp_cursorfetch: No Error Reported With Incorrect DatatypeLast reviewed: April 9, 1997Article ID: Q159699  | 
	
	
The information in this article applies to:
 
 SYMPTOMSIf a non-integer variable is used as the fetch type parameter of sp_cursorfetch, a fetch type of NEXT is assumed. An error message is not returned. 
 WORKAROUNDBefore running sp_cursorfetch, convert the fetch type to an integer datatype, using the CONVERT() function. An error will be reported if the conversion fails. 
 STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider. 
  | 
	
	Additional query words: 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |