Use a critical piece of code to control the flow of one piece of code. You can do this using a statement lockor a little more hardcore and using the mutex directly. Doing this ensures that you return a different number to each caller.
, , - SQLServer Oracle (, , , ), , -, , , ( ). , , , , .
- , , , .