Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Package Invalidating Itself !!!
I've got a PL/SQL package called STANDINGS that I wrote that does the
following, via various procedures in the package, and runs in this
order.
0. WRAPPER -- runs Steps 1 through 3.
The problem is that when Step 1 runs, it invalidates the STANDINGS package, I guess because the status of the WSSPORTFOLIO snapshot has changed. So then Step 2 fails because the package is now invalid.
Is there a workaround to this, short of running Step 1 either separately from the WRAPPER procedure or in a non-packaged procedure, then recompiling any invalidated objects, and continuing?
Chris