Hi, i dont know if this is the right place to post this.
Could anyone help me with this.
The Scenario :
There would be say ten users. Each of the user is doing database communication i.e., adding a record to a particular table at the same time and for the record to be added a unique id has to be generated thru code (something like "USER00001". Now for this, i generally take the maximum of the number ("?????" from "USER?????". The problem is how to handle the situation since all the ten users want to update at the more or less same time. How would the record-locking be handled.
I have the least idea how to handle multiple user updations.
Waiting in anticipation...vijay.
Could anyone help me with this.
The Scenario :
There would be say ten users. Each of the user is doing database communication i.e., adding a record to a particular table at the same time and for the record to be added a unique id has to be generated thru code (something like "USER00001". Now for this, i generally take the maximum of the number ("?????" from "USER?????". The problem is how to handle the situation since all the ten users want to update at the more or less same time. How would the record-locking be handled.
I have the least idea how to handle multiple user updations.
Waiting in anticipation...vijay.