Solved

materialized view refresh

Posted on 2006-10-29
3
830 Views
Last Modified: 2008-02-26
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
Comment
Question by:suhinrasheed
3 Comments
 
LVL 10

Accepted Solution

by:
ravindran_eee earned 500 total points
ID: 17832397
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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now