Concurrent PL/SQL Procedures
Hello,
I'm my database I have certain procedures that must be run asynchronously to maintain data consistency. Yet we find the case that, mostly users by accident, execute the same procedure on multiple sessions at the same time. How could I implement locks on my procedures such that, if the given procedure is being executed in any session, a call on the same procedure on a second session will fail while said procedure is still running on the first session?
Regards
I'm my database I have certain procedures that must be run asynchronously to maintain data consistency. Yet we find the case that, mostly users by accident, execute the same procedure on multiple sessions at the same time. How could I implement locks on my procedures such that, if the given procedure is being executed in any session, a call on the same procedure on a second session will fail while said procedure is still running on the first session?
Regards
0