Re: In multiuser system I want to know about locking of a record
Monday, April 16, 2001 10:13 PM
why do you bother about locking.it will be handled by dbms .
you can use binary locks.that mean a integer contains two state(0,1).
if 0 locked by some one.if it is 1 then no lock.then change to 0 and update.after update change to 1.but it has some problems also.