Prevent duplicate increment values during parallel transactions

后端 未结 0 1344
时光说笑
时光说笑 2020-12-08 21:58

I use transactions in MySQL to store orders. Each order has OrderID (BIGINT), which looks like this: XXXXXX0001, with last four digits incrementing (1620200001,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题