FIX: Error Msg 201 Incorrectly Returned Twice (167334)
The information in this article applies to:
This article was previously published under Q167334
BUG #: 16359
SYMPTOMS
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
WORKAROUND
To work around this problem, upgrade to SQL Server 6.5 Service Pack 3.
STATUS
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.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbBug kberrmsg kbfix kbusage KB167334 |
---|
|