This article was previously published under Q281238
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 351342 (SHILOH_BUGS)
When the xp_findnextmsg stored procedure is executed with the @msg_id parameter and the OUTPUT keyword, the parameter does not correctly contain the message ID on output.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
The xp_findnextmsg stored procedure is used to retrieve the ID for the next e-mail message in the SQL Mail inbox. Prior to SQL Server 2000 SP1, the @msg_id input and output parameter does not correctly contain the message ID on output.
For example, the following statements return no data: