Oracle – RMAN – Clean datapump job

SELECT 'drop table ' || owner_name || '.' || job_name || ';'
FROM dba_datapump_jobs WHERE state='NOT RUNNING' and attached_sessions=0;

exec the sql

Leave a Reply

Your email address will not be published. Required fields are marked *