Simple update script:
BEGIN DBMS_SNAPSHOT.REFRESH( LIST => 'SCHEMA_NAME.TABLE_NAME', PUSH_DEFERRED_RPC => TRUE, REFRESH_AFTER_ERRORS => FALSE, PURGE_OPTION => 1, PARALLELISM => 0, ATOMIC_REFRESH => TRUE, NESTED => FALSE); END;
Oracle claims that:
ORA-00942: table or view does not exist ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2251 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2457 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2426 ORA-06512: at line 2 00942. 00000 - "table or view does not exist"
Question: what am I missing?
Note:
- Updated MV exists
- If no schema is specified, the result will be the same
source share