“The operation is not valid for the state of the transaction” error and transaction scope

后端 未结 6 846
轮回少年
轮回少年 2020-12-02 14:13

I am getting the following error when I try to call a stored procedure that contains a SELECT Statement:

The operation is not valid for the state of t

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 14:40

    I've encountered this error when my Transaction is nested within another. Is it possible that the stored procedure declares its own transaction or that the calling function declares one?

提交回复
热议问题