Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in Creating Materialized Views

Status
Not open for further replies.

barnard90

IS-IT--Management
Mar 6, 2005
73
US
I am trying to create a Materialized view Emp_view
But I am getting this error .
hr is the name of the schema where I want to create the view.

create materialized view hr.Emp_view for UPDATE as select * from hr.Employee
*
ERROR at line 1:
ORA-01031: insufficient privileges

Could some one please suggest the remedy

Thanks
 
Do you have the privilege to create materialized views/snapshots ? There is a specific system privilege for it - "create snapshot".
 
Dagon
Thanks for your post

I do not have any previlige on it
How do I have previliges granted on my name ?
Please suggest.
 
Log on as a DBA and grant them to yourself (grant create snapshot to xxx). If you don't have DBA access, contact the DBA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top