Restriction on Materialized View in R 12.2 to reference to PL/SQL objects.
Hi All,
As per R12.2.X rule I agree that the Editioned objects should not be referred in MV. i.e calling a package/procedure/function etc..
In our query we have a function with around 200 lines of code which has 6 to 7 IF-ELSE ladders. The function takes the input values and returns true or false.
As you know implementing a function with 200 lines of SQL Code which has 6 to 7 IF-ELSE ladders in just a single SQL query is not possible.
Not sure if Oracle has thought of this scenario. I guess It is not mandatory that a Materialized View will have just a SQL query with Joins on tables. It will also have some validations to pick up exact data based on some criteria.