INF: Checking Results of Stored Procedures with RAISERRORLast reviewed: April 25, 1997Article ID: Q67933 |
The information in this article applies to:
- Microsoft SQL Server version 4.2 for OS/2 One way to check the results of a stored procedure is to use RAISERROR within the stored procedure to set the global variable @@ERROR. Then, when you return to the first procedure, you can check for the value of @@ERROR. Another way to check the results of a stored procedure is to determine the number of open transactions by referencing the global variable @@TRANCOUNT.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |