What's the point to enclose select statements in a transaction?

后端 未结 7 2248
渐次进展
渐次进展 2021-01-31 16:16

What\'s the point to enclose select statements in a transaction? I think select statements are just \"GET\" data from the database, they don\'t have chance to rollback something

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-31 17:03

    You might not be changing the data, but some other database connection could.

提交回复
热议问题