(data which contain genrated alpha numeric id computed based on last inserted row eg. Last inserted row contain PUR1111 then new genrated number will be PUR1112).
When 2 user insert at exact moment they both get same PUR1112,
Wheb they insert with millisecond differences it is working fine.
How to solve it?
What? 🤔
Why I never seen that issue?
you mean in DB? DBMS will observe this and it won't let this happen.
Db transactions
Обсуждают сегодня