Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to recompile all packages at once from Debug to Release version?

Blue BirdJan 24 2019 — edited Jan 24 2019

Hi,

I have a question regarding compiling packages. In my schema appeared a bunch of packages as Debug version:

pastedImage_0.png

If I use Right click > Compile All... on node Packages, packages compile, but stay in same state as it were before (Debug or Release) and I would need all selected in Release or vice versa.

  1. How you quickly compile all this packages (or selected ones) from Debug to Release version? The only option I found out now is to first compile Declaration and after that also Body of that package. I have many of them, so it's time consuming. And sometimes you need opposite action.
  2. If SQLDev doesn't support that yet is it possible to achieve the same effect over some simple PL/SQL script, where you specifiy into which version you want to compile objects and which objects?

Thank you,

BB

Comments
Post Details
Added on Jan 24 2019
4 comments
4,235 views