Is there a concurrency with UPDATE count=count+1?

前端 未结 4 1821
闹比i
闹比i 2021-01-23 00:42

I wanted to know, will I run into any concurrency problem with this?

This is NOT in a transaction. This code is for Sqlite(prototype), but I plan to use it

4条回答
  •  无人共我
    2021-01-23 01:31

    I don't think so, I vaugely remember seeing something like this in a SQL server best practices example from Microsoft.

提交回复
热议问题