PL/SQL (MOSC)

MOSC Banner

Concurrent PL/SQL Procedures

edited May 5, 2009 8:14AM in PL/SQL (MOSC) 2 commentsAnswered
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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center