Skip to content

Instantly share code, notes, and snippets.

@cmaggiulli
Created September 4, 2019 16:37
Show Gist options
  • Save cmaggiulli/12fae0959e96ceb97592d4123f158a85 to your computer and use it in GitHub Desktop.
Save cmaggiulli/12fae0959e96ceb97592d4123f158a85 to your computer and use it in GitHub Desktop.
Kills a expdp job. Need to replace C1 and OICIMPEXPUSER with the job name and job owner, respectively
DECLARE
h1 NUMBER;
BEGIN
h1:=DBMS_DATAPUMP.ATTACH('C1','OICEXPIMPUSER');
DBMS_DATAPUMP.STOP_JOB (h1,1,0);
END;
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment