FIX: Error Msg 201 Incorrectly Returned TwiceID: Q167334
|
Running 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
To work around this problem, upgrade to SQL Server 6.5 Service Pack 3.
Microsoft 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 : kberrmsg kbusage SSrvGen kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 9, 1999