FIX: Error Msg 201 Incorrectly Returned TwiceLast reviewed: June 27, 1997Article ID: Q167334 |
The information in this article applies to:
SYMPTOMSRunning a stored procedure by incorrectly passing the DEFAULT parameter to it causes error Msg 201, "Procedure %s expects parameter %s, which was not supplied." to be returned twice instead of once. For example, the following query should return error Msg 201 once, but instead returns it twice:
use pubs go CREATE PROC SP_OutParm (@outvar int output) As SELECT @outvar = 75 go exec sp_outparm DEFAULT go WORKAROUNDTo work around this problem, upgrade to SQL Server 6.5 Service Pack 3.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider. |
Keywords : kbbug6.50 kberrmsg kbusage SSrvGen
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |