Materialized view with trigger?
Can i create trigger 开发者_StackOverflowon materialized view? I'm using oracle 10g.
Yes, you can. Just be careful. This is what Oracle documentation says:
If you create a trigger on a base table of a materialized view, then you must ensure that the trigger does not fire during a refresh of the materialized view. During refresh, the DBMS_MVIEW procedure I_AM_A_REFRESH returns TRUE.
精彩评论