dev schema refresh
I want to refresh a dev schema from production. I use expdp schema=GUY, but expdp does not collect the grants that other schemas might apply to the user. Then if you use impdp on this file it's a train wreck because the user doesn't have what it needs. What is the best way to collect all the the instance wide concerns when I recreate a user schema in dev without rebuilding the whole instance? I use dbms_metadata.get_granted_ddl for these, but the output of that is extremely messy so it becomes painful to apply without hand holding and I need a