I'm aware of options to re-import data to tables using table_exists_action and can give options like skip,append or replace for the data.
But is there an option to re-import packages (re-create) into the database if they are already existing without throwing up an error like
" Package PKG_1 already exists"
I basically have packages which have some changes in them and re-import to another environment where there packages are already existing.
Best Answer
According to https://community.oracle.com/thread/959980 and https://community.oracle.com/thread/838380 the only way to do this is to use the
SQLFILE
parameter toimpdp
to create a script. Then replaceCREATE PACKAGE
withCREATE OR REPLACE PACKAGE
and then execute the script.