Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Stop/kill runnind dbms_job process ?

Re: Stop/kill runnind dbms_job process ?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Fri, 25 Jan 2002 21:27:31 +0000
Message-ID: <3C51CDC3.410A@yahoo.com>


Henry wrote:
>
> Is there a way to do it ?
>
> 1. dbms_job.remove ... does not stop running job
>
> 2. alter system kill session ...
> in my testing example it returns ORA-00031: session marked for kill but then
> it creates new session with same sid but new serial# and remains there even
> is my testing job is one-time run only (the interval parameter for job is
> null).
> The second thing is that for alter system kill session you need system
> privileges and I would like to be able to do it from application (user
> account).
>
> Do you have any ideas ?
> Thanks.

more recent versions of oracle have an 'immediate' option on kill session which may assist.

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Fri Jan 25 2002 - 15:27:31 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US