Should I be using SQL transactions, while reading records?

后端 未结 7 1670
离开以前
离开以前 2021-01-02 09:14

SQL transactions is used for insert, update, but should it be used for reading records?

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 10:03

    When you modified something in a transaction, you can use read statement to check if the operation takes effect, just before you commit.

提交回复
热议问题