I have a table of 1.000 Urls. I also have 4 clients that need to work on those URLs at the same time. I would like to garantee that each client works on unique URLs. Meaning, I want to divide that by four so that each one has 250 URLs to work with. Those URLs change. What I would like to do is to do some sort of locking on a subset of URLs so that only that client can read those 250 URLs with a select * form tbl_URL while the others can only do the same within their set.
I need to make sure that no 2 clients process the same URLs.
Once the URL is processed, it can be relased back to the pool.
How can I do that?