Wednesday, January 11, 2017

Kill Datapump job that running inside Database

even if you interrupt data bump job on shell therefore you have to do the following :-

as / as sysdba run the below query :

select * from dba_datapump_jobs


After checking the status of each one,

run the following :-

DECLARE
h1 NUMBER;
BEGIN
h1:=DBMS_DATAPUMP.ATTACH('JOB_NAME','OWNER_NAME');
DBMS_DATAPUMP.STOP_JOB (h1,1,0);
END;
/

Thanks 

No comments:

Post a Comment