INF: Stored Procedures, Transactions, and Error 266 (158325)
The information in this article applies to:
- Microsoft SQL Server 4.2x
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q158325 SUMMARY
If a stored procedure exits with the @@trancount value that is not the same
as when the stored procedure was entered, the following error will occur:
Error: 266, Severity: 16, State: 1
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN
is missing. Previous count = %ld, Current count = %ld.
This error is for informational purposes only.
Modification Type: | Minor | Last Reviewed: | 2/14/2005 |
---|
Keywords: | kbinfo kbProgramming KB158325 |
---|
|