Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 849
  • Last Modified:

materialized view refresh

I have a materialized view in schema 1 and i can refresh it in schema1.Now i want my schema2 in the same database to have the privileges to refresh a materialized view owned by schema1.what privileges should i grant schema2
0
suhinrasheed
Asked:
suhinrasheed
1 Solution
 
ravindran_eeeCommented:
Schema2 should have select rights on the underlying tables of the materialized and the materialized view itself.. This should be sufficient.. The refresh should look like,

EXECUTE DBMS_SNAPSHOT.REFRESH('tiger.temp');

Please let me know whether any further information is needed..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now