invalid triggers after data pump import
I'm new to Oracle Data Pump and I'm trying to make use of it in a purge routine. I export the entire table using expdp, drop the table, and then reimport with the query option to pull in only the rows to be kept.
It works great but the only issue is that I have some invalid triggers after the import is complete. The triggers are not on the table being imported but they are triggers on other tables that are dependents of this table.
They compile just fine but I'm looking for a way around this issue without running a wholesale compile all script after the purge routine runs.