Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN is missing. Previous count = %ld, Current count = %ld

Such an error has appeared these days to me in SQL using SPROC in another SPROC where these are using transactions:


Msg 266, Level 16, State 2, Procedure SPROC_NAME2, Line 0
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 2.

So what is that???
I will explain.

........ »



This post first appeared on ExtremeDev: Development Solutions, please read the originial post: here

Share the post

Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN is missing. Previous count = %ld, Current count = %ld

×

Subscribe to Extremedev: Development Solutions

Get updates delivered right to your inbox!

Thank you for your subscription

×