Thursday, August 18, 2022
How To Drop A NOT RUNNING DataPump Job? (Doc ID 1456784.1)
A DataPump import job created through DBMS_DATAPUMP API is listed as NOT RUNNING when querying DBA_DATAPUMP_JOBS:
SQL> connect / as sysdba
SQL> SELECT o.status, o.object_id, o.object_type, o.owner||'.'||object_name "OWNER.OBJECT"
FROM dba_objects o, dba_datapump_jobs j WHERE o.owner=j.owner_name AND o.object_name=j.job_name
AND j.job_name NOT LIKE 'BIN$%' ORDER BY 4,2;
STATUS OBJECT_ID OBJECT_TYPE OWNER.OBJECT
------- ---------- ------------------- --------------------------------------------------------
VALID 1015301 TABLE SYS.daily_import
When trying to drop the master table it fails with:
SQL> DROP TABLE SYS.daily_import;
DROP TABLE SYS.daily_import
*
ERROR at line 1:
ORA-00942: table or view does not exist
You need to specify double quotes around the schema owner and the table name when dropping it:
SQL> DROP TABLE "SYS"."daily_import";
SQL> purge recyclebin;
Subscribe to:
Post Comments (Atom)
Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1)
Database Options/Management Packs Usage Report You can determine whether an option is currently in use in a database by running options_pa...
-
In this Document Goal Ask Questions, Get Help, And Share Your Experiences With This Article Solution 12c TDE FAQ documentation Quick...
-
This document describes how to develop and deploy customizations in an Oracle E-Business Suite Release 12.2 environment. Follow thes...
-
This document also provides links to two presentations on the subject: Oracle OpenWorld presentation "Technical Upgrade Best Practice...
No comments:
Post a Comment