FredTbay
asked on
How to avoid ORA-04068, but still update materialized view that is used in a procedure?
I need to update/refresh a materialized view that is the basis for records processed by a procedure. Any way to do this in PL/SQL?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you don't have further info request, I suggest deleting the question rather than closing it
ASKER
It's not very elegant, but it'll work.
Upgrading to 11g will help because it does finer grained dependencies but if procedure is dependent on an object then you will encounter 4068's if you try to use it across ddl changes.
A simple refresh of data shouldn't cause any invalidations though