Having simple refresh 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 argues 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:
- Refreshed MV does exist
- if schema is not specified result is the same