Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL Help
Ethan,
> Should I use a table and put a flag in it?
Have you considered using the DBMS_LOCK package (documented in the
supplied packages reference manual). Your procedure could request an
exclusive lock before running the main body of code - If it gets the
lock OK, it runs the code then releases the lock; If it can't get the
lock the procedure does nothing (ie: it assumes another session is
already running the procedure)
Regards
Steve Blomeley
Received on Wed Oct 18 2000 - 19:47:21 CDT