Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Check if Oracle stored procedure already running
On 13 Jul 2006 07:19:03 -0700, darkmichael_at_yahoo.com wrote:
>Could you please give an advise how I can check whether an Oracle
>stored procedure is already running to prevent it to run again?
If you mean that only a single session may run this procedure at any time, one of several options is to take a user-defined lock using DBMS_LOCK.
-- Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis toolReceived on Thu Jul 13 2006 - 15:49:38 CDT
![]() |
![]() |