Database Administration (MOSC)

MOSC Banner

Use stored procedure to datapump

edited Nov 9, 2018 5:50PM in Database Administration (MOSC) 5 commentsAnswered ✓

All,

We are using Oracle 12.2, I am testing this simple procedure that I got from Metalink to do a FULL datapump from a stored procedure, so I can use dbms_scheduler to schedule it.

I created the DPDUMP directory

I granted read/write on the directory to my account.

I granted execute on the sys.dbms_datapump to my account

I granted exp full database to my account

I granted datapump_exp_full_database to my account

I granted datapump_imp_full_database to my account

I can run this PROCEDURE successfully as an Anonymous Block, but when I try to create it as a STORED PROCEDURE it fails.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center