Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Materialized View/dbms_mview.refresh Question
I have a materialized view created by user A in schema A. The view consists of simple table joins and union statements. I want user B to be able to execute the refresh on the MV using dbms_mview.refresh.
I've granted select on all the tables to user B along with creating public synonyms for the tables. I've also granted all privileges on the MV to user B and granted REWRITE privs to user B.
When I exec dbms_mview.refresh('A.MVIEW_NAME', 'A'); as user B, I get the following error:
ORA-01031: Insufficent privileges ORA-06512: at "SYS.DBMS_SNAPSHOT", line 610 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 667 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 647 ORA-06512: at line 1
Any thoughts?
Thanks
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Sep 18 2001 - 12:48:54 CDT
![]() |
![]() |