| 
 Posted by Bobus on 02/15/06 03:20 
Thanks for the responses everyone! 
 
MGFoster: I was asking about the "limit" clause so that I could 
implement a solution similar to what Erland recommended.  This 
guarantees no collisions. 
 
Randy: in your solution, I believe there is a chance that two 
concurrent requests will end up grabbing the same pin. 
 
Alexander: clever!  It's like an Oracle sequence.  But, in our 
particular case, we could have a problem of unused pins for 
transactions which rollback. 
 
Hugo: that should definintely do the trick. 
 
Erland: yours too!  I will try them both out. 
 
Thanks for the help!
 
[Back to original message] 
 |