M
mscertified
I've asked this several times and not gotten a very useful answer yet. Surely
someone must have done this...
This is a multi-user database.
I have a table that users can grab records from. No two users must grab the
same record. After the record has been processed, the record must be deleted
so it is not grabbed again.
I'm looking for a (simple?) technique to do this. Currently, I have a very
complex locking mechanism that involves inserting and deleting rows from a
locking table. This locking mechanism enforces single-threading but I'm
wondering if there is a method that allows multiple users to grab different
records at the same time.
someone must have done this...
This is a multi-user database.
I have a table that users can grab records from. No two users must grab the
same record. After the record has been processed, the record must be deleted
so it is not grabbed again.
I'm looking for a (simple?) technique to do this. Currently, I have a very
complex locking mechanism that involves inserting and deleting rows from a
locking table. This locking mechanism enforces single-threading but I'm
wondering if there is a method that allows multiple users to grab different
records at the same time.