Microsoft KB Archive/275901

= FIX: SQL RPC That Raises Error Will Mask @@ERROR with Msg 7221 =

Article ID: 275901

Article Last Modified on 10/31/2003

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition
 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q275901



BUG #: 58433 (SQLBUG_70)

BUG #: 236400 (SHILOH_bugs)



SYMPTOMS
If a remote TSQL procedure raises an error with a severity greater than 10, the caller of the procedure will see 7221 for the value of @@ERROR after the remote procedure is executed, instead of the original error.



SQL Server 2000
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

SQL Server 7.0
To resolve this problem, obtain the latest service pack for SQL Server 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

301511 INF: How to Obtain the Latest SQL Server 7.0 Service Pack

Hotfix
NOTE: The following hotfix was created prior to Microsoft SQL Server 7.0 Service Pack 3.

The English version of this fix should have the following file attributes or later:   Version      File name     Platform -  7.00.910     S70910i.exe   Intel S70910a.exe  Alpha NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

SQL Server 2000
This problem was first corrected in SQL Server 2000 Service Pack 1.

SQL Server 7.0
This problem was first corrected in SQL Server 7.0 Service Pack 3.

Additional query words: S70910i S70910a t-sql

Keywords: kbbug kbfix kbqfe kbsqlserv2000sp1fix KB275901

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.