Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing - SQL server 2005

前端 未结 4 983
不思量自难忘°
不思量自难忘° 2021-01-11 12:35

I am getting the error from the application as following with SQL server 2005

\"Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK

4条回答
  •  一整个雨季
    2021-01-11 12:55

    The system function @@TRANCOUNT will return how many transactions you are currently in. As part of your investigation, insert PRINT @@TRANCOUNT or SELECT @@TRANCOUNT statements at appropriate places to see what is going wrong.

提交回复
热议问题